Location Recorder
class LocationRecorder( val provider: FusedLocationProviderClient, val folderPath: String, val name: String, val formatter: DataFormat<LocationResult>, val request: LocationRequest, val looperFactory: () -> Looper = { Looper.getMainLooper() }) : DataRecorder
Content copied to clipboard
Facilitates the recording of location data.
The class cannot be reused after it has been closed. Another instance must be created to restart recording.
Constructors
Link copied to clipboard
fun LocationRecorder( provider: FusedLocationProviderClient, folderPath: String, name: String, formatter: DataFormat<LocationResult>, request: LocationRequest, looperFactory: () -> Looper = { Looper.getMainLooper() })
Content copied to clipboard