my.makePhoneCall opens the device dialer and initiates a call to the specified phone number.
function makePhoneCall() {
my.makePhoneCall({
number: "00000",
});
}
| Property | Type | Required | Description |
|---|---|---|---|
number | String | Yes | Phone number to call. |
success | Function | No | Callback function upon call success. |
fail | Function | No | Callback function upon call failure. |
complete | Function | No | Callback function upon call completion. |