stopAccelerometer

解释:停止监听加速度数据。参数:Object

Object参数说明:

参数名类型必填说明
successFunction接口调用成功的回调函数
failFunction接口调用失败的回调函数
completeFunction接口调用结束的回调函数(调用成功、失败都会执行)

示例:

  1. swan.stopAccelerometer();

网络状态罗盘