Gyroscope

external interface Gyroscope(source)

Properties

Link copied to clipboard
abstract val isStarted: Boolean
Link copied to clipboard
abstract val x: Float
Link copied to clipboard
abstract val y: Float
Link copied to clipboard
abstract val z: Float

Functions

Link copied to clipboard
abstract fun start(params: GyroscopeStartParams, callback: TrackingStartedCallback = definedExternally): Gyroscope
Link copied to clipboard
abstract fun stop(callback: TrackingStoppedCallback = definedExternally): Gyroscope