• 2022-05-28
    小程序使用____监听罗盘数据,频率:____ /秒,接口调用后会自动开始监听,可使用wx.stopCompass停止监听。其中CALLBACK返回参数direction,该参数是Number类型,表示面对的方向度数。