Phone Call
-
Description
Phone Call
Phone Call is a non-visible component that makes a phone call to the number specified in the 'PhoneNumber' property, which can be set either in the Designer or Blocks Editor. The component has a ''MakePhoneCall' method, enabling the program to launch a phone call. Often, this component is used with the Contact picker component, which lets the user select a contact from the ones stored on the phone and sets the 'PhoneNumber' property to the contact's phone number.
-
Events
- Incoming Call Answered (text PhoneNumber)
- Event indicating that an incoming phone call is answered. Parameter 'PhoneNumber' is the incoming call phone number.
- Phone Call Ended (number status, text PhoneNumber)
- Event indicating that a phone call has ended. If status is 1, incoming call is missed or rejected; if status is 2, incoming call is answered before hanging up; if status is 3, outgoing call is hung up. Parameter 'PhoneNumber' is the ended call phone number.
- Phone Call Started (number status, text PhoneNumber)
- Event indicating that a Phone call has started. If status is 1, incoming call is ringing; if status is 2, outgoing call is dialled. Parameter 'PhoneNumber' is the incoming/outgoing phone number.
-
Procedures
- Make Phone Call
- Makes a phone call using the number in the 'PhoneNumber' property.
-
Properties
- Phone Number (string)
- It's the number that phone will call when the 'Make Phone Call' method is called. The number is a text string with the specified digits (e.g., 650)-555-1212). Dashes, dots, and parentheses may be included (e.g., (650)-555-1212) but will be ignored; spaces should not be included.