SensorDataFormat

interface SensorDataFormat : DataFormat<SensorEvent>

Interface for formatting sensor data

Functions

Link copied to clipboard
abstract fun formatData(data: SensorEvent): String

Formats the data into the specified format

Link copied to clipboard
abstract fun formatHeader(): String

Creates a header for the data.

Properties

Link copied to clipboard
abstract val unit: String?

Unit of measurement used to save the sensor value

Link copied to clipboard
abstract val unitFactor: Float

Factor from the raw unit to the desired/saved unit

Inheritors

Link copied to clipboard
Link copied to clipboard