# wx.offCompassChange(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

Cancel listening compass data change event, the parameter is empty, then cancel all the event listening.

# parameter

# function callback

Callback function for compass data change events