附录2-所有JS接口列表
优质
小牛编辑
139浏览
2023-12-01
版本 1.6.0 接口
updateAppMessageShareData
updateTimelineShareData
onMenuShareTimeline(即将废弃)
onMenuShareAppMessage(即将废弃)
onMenuShareQQ(即将废弃)
onMenuShareWeibo
onMenuShareQZone
startRecord
stopRecord
onVoiceRecordEnd
playVoice
pauseVoice
stopVoice
onVoicePlayEnd
uploadVoice
downloadVoice
chooseImage
previewImage
uploadImage
downloadImage
translateVoice
getNetworkType
openLocation
getLocation
hideOptionMenu
showOptionMenu
hideMenuItems
showMenuItems
hideAllNonBaseMenuItem
showAllNonBaseMenuItem
closeWindow
scanQRCode
chooseWXPay
openProductSpecificView
addCard
chooseCard
openCard