unitSystem

@get:RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
@set:RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract var unitSystem: UnitSystemType

Deprecated

This will be removed from future releases after 2026-07-26.

Replace with

tomtomNavigation.configuration.unitSystem

UnitSystem to be used within TomTomNavigation.

Once set, it is propagated to other components (e.g. GuidanceEngine) and is used for the generation of guidance announcements.

UnitSystemType.Dynamic is resolved based on current location country:

The default value is UnitSystemType.default.

Throws

if the instance of TomTomNavigation is closed.