bn.offDeviceMotionChange
▸ offDeviceMotionChange(cb): void
description Cancels listening device direction change event, parameter is null, then cancels all event monitoring.
example
bn.offDeviceMotionChange(callback)
Parameters
| Name | Type |
|---|---|
cb | OffDeviceMotionChangeCallback |
Returns
void
OffDeviceMotionChangeCallback
Ƭ OffDeviceMotionChangeCallback: () => void
Type declaration
▸ (): void
Callback function for device orientation change event
Returns
void