This API is used via wx.makePhoneCall(Object object).
Attribute | Type | Default value | Required | Description |
phoneNumber | string | - | Yes | The phone number that needs to be dialed |
success | function | - | No | Callback Function of Successful Interface Call |
fail | function | - | No | Callback Function of Failing Interface Call |
complete | function | - | No | Callback function executed upon the completion of the interface invocation (both successful and unsuccessful invocations) |
wx.makePhoneCall({phoneNumber: '1340000' // This is merely an example and not an actual phone number.})
Was this page helpful?