LocationTracesRecorderFactory
Factory to create a LocationTracesRecorder.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
fun createTtpRecorder(tomTomNavigation: TomTomNavigation, loggerStrategy: LoggerStrategy): LocationTracesRecorder
Creates the LocationTracesRecorder with the provided loggerStrategy.
fun createTtpRecorder(context: Context, tomTomNavigation: TomTomNavigation, directoryUri: Uri, fileNameStrategy: FileNameStrategy = DateTimeFileNameStrategy(SystemClockTimeProvider())): Result<LocationTracesRecorder, LocationTracesRecorderFailure>
Creates the LocationTracesRecorder with the default implementation.