Factory to create a LocationTracesRecorder.

Important: This is a Public Preview API. It may be changed or removed at any time.


Link copied to clipboard

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.