BarometerCsv

class BarometerCsv : DataCsv<SensorEvent> , SensorDataFormat

Formatter for barometer data to CSV

Constructors

Link copied to clipboard
fun BarometerCsv()

Functions

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

Formats the data into the specified format

Link copied to clipboard
open override fun formatHeader(): String

Creates a header for the data.

Properties

Link copied to clipboard
open override val unit: String

Unit of measurement used to save the sensor value

Link copied to clipboard
open override val unitFactor: Float = 0.1f

Factor from the raw unit to the desired/saved unit