swan.stopCompass
解释:停止监听罗盘数据。

方法参数
Object object
object 参数说明
| 属性名 | 类型 | 必填 | 默认值 | 说明 |
|---|
|
success
|
Function
|
否
|
接口调用成功的回调函数
|
|
fail
|
Function
|
否
|
接口调用失败的回调函数
|
|
complete
|
Function
|
否
|
接口调用结束的回调函数(调用成功、失败都会执行)
|
示例
跳转编辑工具
在开发者工具中打开
在 WEB IDE 中打开
扫码体验
代码示例
请使用百度APP扫码
图片示例
代码示例
{{title}}
0
90
180
270
开始监听
停止监听
文章题目:创新互联百度小程序教程:swan.stopCompass
当前地址:
https://chengdu.cdxwcx.cn/article/dhegpss.html