Skip to main content

Events

EventsDescription
onMotionAvaliableFires when device motion is available. E.g. Mobile devices.
onMotionUnavailableFires when device motion is not available. E.g. Desktop devices, unsecure URL.
onMotionActiveFires when the device motion is active. E.g. most of Android devices or after granting permission.
onPermissionGrantedFires when the user accepts to activate the device motion.
onPermissionDeniedFires when the user cancels to activate the device motion.