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