API函数()用于监听加速度变化事件
A: wx.startCompass(Objectobject)
B: wx.onCompassChange(functioncallback)
C: wx.onAccelerometerChange(functioncallback)
D: wx.stopAccelerometer(Objectobject)
A: wx.startCompass(Objectobject)
B: wx.onCompassChange(functioncallback)
C: wx.onAccelerometerChange(functioncallback)
D: wx.stopAccelerometer(Objectobject)
举一反三
- API函数()用于启动启动加速度监听事件。 A: wx.startAccelerometer(Objectobject) B: wx.startCompass(Objectobject) C: wx.startGyroscope(Objectobject) D: wx.onCompassChange(functioncallback)
- API函数()用于启动启动陀螺仪监听事件 A: wx.startCompass(Objectobject) B: wx.onCompassChange(functioncallback) C: wx.startAccelerometer(Objectobject) D: wx.startGyroscope(Objectobject)
- API函数()用于监听网络状态变化事件 A: wx.onNetworkStatusChange(functioncallback) B: wx.getNetworkType(Objectobject) C: wx.onWifiConnected(functioncallback) D: wx.getConnectedWifi(Objectobject)
- 监听加速度变化的监听频率是通过()函数来设置的? A: wx.onAccelerometerChange(functioncallback) B: wx.stopAccelerometer(Objectobject) C: wx.startAccelerometer(Objectobject) D: Math.random()
- API函数()用于监听网络状态变化事件B A: wx.onWifiConnected(functioncallback) B: wx.onNetworkStatusChange(functioncallback) C: wx.getConnectedWifi(Objectobject) D: wx.getNetworkType(Objectobject)