跳到主要内容

bn.offAccelerometerChange

offAccelerometerChange(cb): void

description Cancel monitoring of acceleration data events. If the parameter is null, cancel all event monitoring.

example

 bn.offAccelerometerChange(callback)

Parameters

NameType
cbOffAccelerometerChangeCallback

Returns

void

OffAccelerometerChangeCallback

Ƭ OffAccelerometerChangeCallback: () => void

Type declaration

▸ (): void

Acceleration Data Event Callback Function

Returns

void