SensorModel

open class SensorModel(val sensor: Sensor, val valueNames: Array<String>, initialValues: Array<SensorTypeFloat> = emptyArray()) : CustomSensorListener, DataProvider<SensorTypeFloat>

Base implementation for all android.hardware.Sensors

Inheritors

Constructors

Link copied to clipboard
constructor(sensor: Sensor, valueNames: Array<String>, initialValues: Array<SensorTypeFloat> = emptyArray())

Types

Link copied to clipboard
object companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val valueNames: Array<String>

Functions

Link copied to clipboard
open override fun getCurrentData(): Array<SensorTypeFloat>
Link copied to clipboard
open override fun onAccuracyChanged(p0: Sensor?, p1: Int)
Link copied to clipboard
open override fun onSensorChanged(p0: SensorEvent?)
Link copied to clipboard
open override fun preprocessing(additionalDataMap: Map<String, Any>?)
Link copied to clipboard
open override fun register(context: Context)
Link copied to clipboard
open override fun unregister(context: Context)