SafetyLocationVisualization

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface SafetyLocationVisualization

Represents vehicle horizon-specific API used to manage horizon capabilities, e.g., safety cameras.

Important: To visualize Safety Locations the SafetyLocationsConfiguration should be set during the configuration of TomTomNavigation. SafetyLocationsConfiguration must be created with an API key for the Safety Locations API.

Functions

Link copied to clipboard

Adds a SafetyLocationClickedListener which will inform when a safety location is clicked.

Link copied to clipboard
abstract fun hideSafetyLocations(hiddenSafetyLocations: Set<SafetyLocationType>)

Hides the safety locations.

Link copied to clipboard
abstract fun setSafetyLocationsCountOption(safetyLocationCountOption: SafetyLocationCountOptions)

Set the number of safety locations that will be made visible from the beginning of the route. By default, all safety locations will be visible.