電話
makePhoneCall
TIP
該API使用方法為: wx.makePhoneCall(Object object)
功能說明: 撥打電話
參數及說明: Object object。
内容 類型 預設值 必填 說明 phoneNumber string - 是 需要撥打的電話 success Function - 否 接口調用成功的回呼函數 fail Function - 否 接口調用失敗的回呼函數 complete Function - 否 接口調用結束的回呼函數(無論成功與否都執行) 示例代碼:
js
wx.makePhoneCall({
phoneNumber: '1340000' // This is merely an example and not an actual phone number.
})