Skip to main content

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

NameType
cbOffCompassChangeCallback

Returns

void

OffCompassChangeCallback

Ƭ OffCompassChangeCallback: () => void

Type declaration

▸ (): void

Callback function for compass data change events

Returns

void