Accelerometer

external interface Accelerometer(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: AccelerometerStartParams, callback: TrackingStartedCallback = definedExternally): Accelerometer
Link copied to clipboard
abstract fun stop(callback: TrackingStoppedCallback = definedExternally): Accelerometer