• 2022-06-11
    API函数( )用于启动罗盘监听事件
    A: wx.startCompass(Object object)
    B: wx.onCompassChange(function callback)
    C: wx.startAccelerometer(Object object)
    D: wx.startGyroscope(Object object)
  • A

    内容

    • 0

      函数wx.startAccelerometer(Object object)用于启动加速度监听事件( )。

    • 1

      API函数( )用于获取网络类型 A: wx.getNetworkType(Object object) B: wx.onNetworkStatusChange(function callback) C: wx.getConnectedWifi(Object object) D: wx.onWifiConnected(function callback)

    • 2

      API函数( )用于获取屏幕亮度。 A: wx.setScreenBrightness(Object object) B: wx.getScreenBrightness(Object object) C: wx.setKeepScreenOn(Object object) D: wx.onUserCaptureScreen(function callback)

    • 3

      API函数( )用于设置屏幕亮度。 A: wx.setScreenBrightness(Object object) B: wx.getScreenBrightness(Object object) C: wx.setKeepScreenOn(Object object) D: wx.onUserCaptureScreen(function callback)

    • 4

      用于扫码的API函数是( ) A: wx.scanCode(Object object) B: wx.makePhoneCall(Object object) C: wx.addPhoneContact(Object object) D: wx.onMemoryWarning(function callback)