ExecutionPolicy

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
sealed class ExecutionPolicy

Deprecated

This API is deprecated, for more details please go to: https://developer.tomtom.com/navigation/android/releases/versions/2.1

Execution policy determines how requests to multiple APIs are executed.

Inheritors

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Fallback : ExecutionPolicy

Fallback to the alternate API in case primary fails.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Parallel : ExecutionPolicy

Run both APIs requests in parallel, first to succeed wins.