DistanceType
public enum DistanceType : UInt32, CaseIterable, Codable
Note: The distance types are being given for warnings at distances which can be configured
via options specific for each warner. These distances are defined based on the sdk.navigation.TimingProfile
calculated based on the speed limit present at the driver’s current location.
Indicates the distance type for a warning.
-
The warning is given for the first time for a new warner data ahead. In case the distance to the warner data is 0, then a warning with distance type
DistanceType.reachedwill also be given at the same moment.Declaration
Swift
case ahead -
The warning is given when a warner data was passed.
Declaration
Swift
case passed -
The warning is given when a warner data was reached. In case the distance to the warner data is 0 when the warning with distance type
DistanceType.aheadis given, then a warning with distance typeDistanceType.reachedwill be given at the same moment.Declaration
Swift
case reached