通信
模块名:ums_device
callTo (params, @Nullable callback)
拨打电话
入参说明
params参数说明
属性 | 说明 |
---|---|
phoneNo | String类型,手机号 |
调用示例
moduleName.networkType ( ret => {
//回调结果
// console.log(result=’ +ret.result)
});
参数详解
模块名:ums_device
smsTo (params, @Nullable callback)
发送短信
入参说明
params参数说明
属性 | 说明 |
---|---|
phoneNo | String类型,手机号 |
content | String类型,短信内容 |
调用示例
moduleName.networkType ( ret => {
//回调结果
// console.log(result=’ +ret.result)
});