当前位置:网站首页>Uniapp - make phone calls and send text messages
Uniapp - make phone calls and send text messages
2022-07-28 03:18:00 【A walking sheep】
1. Make a phone call
uni.makePhoneCall({
phoneNumber: "13666666666",
success() {
console.log(" Dial successfully ")
},
fail() {
console.log(" Call failed ")
}
})
2. Send a text message
let msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS)
msg.to = ['13666666666']
msg.body = 'Hello'
plus.messaging.sendMessage(msg)
【 Authority selection 】

边栏推荐
猜你喜欢

PCB丝印如何摆?请查收这份手册!

Es6.--promise, task queue and event cycle

Raspberry pie development relay control lamp

Unexpected harvest of epic distributed resources, from basic to advanced are full of dry goods, big guys are strong!

Games101 review: ray tracing

关于权重衰退和丢弃法

Redis经典面试题总结

Comprehensive comparative study of image denoising

MySQL index learning

Data Lake: database data migration tool sqoop
随机推荐
QFileDevice、QFile、QSaveFile、QTemporaryFile
Development and design logic of rtsp/onvif protocol easynvr video platform one click upgrade scheme
嵌入式分享合集22
关于权重衰退和丢弃法
Pytoch correlation gradient echo
Raspberry pie development relay control lamp
exness:日本物价上涨收入下降,英镑/日元突破 165
Data Lake: database data migration tool sqoop
The applet has obtained the total records and user locations in the database collection. How to use aggregate.geonear to arrange the longitude and latitude from near to far?
力扣(LeetCode)208. 实现 Trie (前缀树)(2022.07.27)
NPDP candidates! The exam requirements for July 31 are here!
ELS timer
OA项目之我的审批(会议查询&会议签字)
蓝桥杯:第九届—“彩灯控制器”
Yiwen teaches you to distinguish between continuous integration, continuous delivery and continuous deployment
谈一谈百度 科大讯飞 云知声的语音合成功能
53. Maximum Subarray最大子数组和
Games101 review: ray tracing
Note that these regions cannot take the NPDP exam in July
Data Lake (XVII): Flink and iceberg integrate datastream API operations