Skip to main content

拨打电话

makePhoneCall

参数说明

属性类型默认值是否必填描述
phoneNumberstring[]本地图片地址数组
successfunction接口调用成功的回调函数
failfunction接口调用失败的回调函数
completefunction接口调用结束的回调函数(调用成功、失败都会执行)

示例代码

dsBridge.call(
'makePhoneCall',
{
phoneNumber: '15159718297',
success (res) {
// 参照返回结果示例
console.log(JSON.stringify(res))
}
}
)