Accelerometer

external interface Accelerometer

Properties

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

Functions

Link copied to clipboard
abstract fun start(params: AccelerometerStartParams, callback: (Boolean) -> Unit = definedExternally)
Link copied to clipboard
abstract fun stop(callback: (Boolean) -> Unit)