bn.offCompassChange
▸ offCompassChange(cb
): void
description
Cancel listening compass data change event, the parameter is empty, then cancel all the event listening.
example
bn.offCompassChange(callback)
Parameters
Name | Type |
---|---|
cb | OffCompassChangeCallback |
Returns
void
OffCompassChangeCallback
Ƭ OffCompassChangeCallback: () => void
Type declaration
▸ (): void
Callback function for compass data change events
Returns
void