Skip to main content
Use this API to remove listeners registered with my.onDeviceMotionChange.

Parameters

Code Example

my.onDeviceMotionChange

Listen for orientation changes

my.stopDeviceMotionListening

Stop listening