StubProvider

class StubProvider<T : SupportedNumericSensorTypes>(val valueNames: Array<String>, reportedValue: Array<T>) : DataProvider<T>

Stub Sensor providing the same value continuously. Is used as a Fallback-Sensor to not have to crash the app

Constructors

Link copied to clipboard
constructor(valueNames: Array<String>, reportedValue: Array<T>)

Properties

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

Functions

Link copied to clipboard
open override fun getCurrentData(): Array<T>
Link copied to clipboard
open fun preprocessing(additionalDataMap: Map<String, Any>?)