A: wx.getNetworkType(Object object)
B: wx.onNetworkStatusChange(function callback)
C: wx.getConnectedWifi(Object object)
D: wx.onWifiConnected(function callback)
举一反三
- API函数( )用于监听网络状态变化事件。 A: wx.onNetworkStatusChange(function callback) B: wx.getConnectedWifi(Object object) C: wx.onWifiConnected(function callback) D: wx.getNetworkType(Object object)
- API函数( )用于监听陀螺仪变化事件 A: wx.onCompassChange(function callback) B: wx.startGyroscope(Object object) C: wx.stopGyroscope(Object object) D: wx.onGyroscopeChange(function callback)
- API函数( )用于获取屏幕亮度。 A: wx.setScreenBrightness(Object object) B: wx.getScreenBrightness(Object object) C: wx.setKeepScreenOn(Object object) D: wx.onUserCaptureScreen(function callback)
- API函数( )用于设置屏幕亮度。 A: wx.setScreenBrightness(Object object) B: wx.getScreenBrightness(Object object) C: wx.setKeepScreenOn(Object object) D: wx.onUserCaptureScreen(function callback)
- 用于扫码的API函数是( ) A: wx.scanCode(Object object) B: wx.makePhoneCall(Object object) C: wx.addPhoneContact(Object object) D: wx.onMemoryWarning(function callback)
内容
- 0
API函数( )用于监听罗盘变化事件 A: wx.startCompass(Object object) B: wx.onCompassChange(function callback) C: wx.startAccelerometer(Object object) D: wx.startGyroscope(Object object)
- 1
API函数( )用于启动罗盘监听事件 A: wx.startCompass(Object object) B: wx.onCompassChange(function callback) C: wx.startAccelerometer(Object object) D: wx.startGyroscope(Object object)
- 2
API函数( )用于启动加速度监听事件。 A: wx.startAccelerometer(Object object) B: wx.startCompass(Object object) C: wx.startGyroscope(Object object) D: wx.onCompassChange(function callback)
- 3
API函数( )用于启动启动加速度监听事件。 A: wx.startGyroscope(Object object) B: wx.startCompass(Object object) C: wx.startAccelerometer(Object object) D: wx.onCompassChange(function callback)
- 4
函数wx。onAccelerometerChange(function callback)的参数callback的属性包括:( )。 A: x B: y C: z D: w