Package com. autoliv. datalogger. data
Data gathering related functionalities
Types
Link copied to clipboard
Abstract class containing common functionality to format a data to CSV
Link copied to clipboard
Interface for classes that formats the data T
Link copied to clipboard
Interface for facilitators of data recording
Link copied to clipboard
data class LocationProperties(val name: String, val formatter: DataFormat<LocationResult>)
Content copied to clipboard
Properties of the location for aggregate data recorders.
Link copied to clipboard
class MobilityDataRecorder( val sensorManager: SensorManager, val locationProvider: FusedLocationProviderClient, val folderPath: String, val locationRequest: LocationRequest = defaultLocationRequest) : DataRecorder
Content copied to clipboard
An aggregate recorder that records multiple sensors and locations into CSV
Link copied to clipboard
data class SensorProperties( val name: String, val formatter: SensorDataFormat, val type: Int)
Content copied to clipboard
Properties of Sensors for aggregate data recorders.
Functions
Link copied to clipboard
suspend fun <T> Channel<T>.streamToFile(file: File, formatter: DataFormat<T>)
Content copied to clipboard
Writes the channel contents into a file, transforming the contents using a formatter