# wx.offDeviceMotionChange(function callback)

Start from base library version 2.9.3. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 2.9.1

Cancels listening device direction change event, parameter is null, then cancels all event monitoring.

# parameter

# function callback

Callback function for device orientation change event