createTtpRecorder
fun createTtpRecorder(context: Context, tomTomNavigation: TomTomNavigation, directoryUri: Uri, fileNameStrategy: FileNameStrategy = DateTimeFileNameStrategy(SystemClockTimeProvider())): Result<LocationTracesRecorder, LocationTracesRecorderFailure>
Creates the LocationTracesRecorder with the default implementation.
Parameters
tomTomNavigation
The TomTomNavigation for which the traces will be recording.
directoryUri
The Uri of the device directory to which new files will be saved.
fun createTtpRecorder(tomTomNavigation: TomTomNavigation, loggerStrategy: LoggerStrategy): LocationTracesRecorder
Creates the LocationTracesRecorder with the provided loggerStrategy.
Parameters
tomTomNavigation
The TomTomNavigation for which the traces fill be recording.
loggerStrategy
The LoggerStrategy used to save logs.