WarningStatus
public enum WarningStatus : UInt32, CaseIterable, Codable
Indicates the current status of the warning relative to the vehicle’s position.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The warning is ahead of the vehicle. Ony a single
WarningStatus.aheadis given for each warning.Declaration
Swift
case ahead -
The warning is ahead with the updated distance till the
WarningStatus.reachednotification.Declaration
Swift
case approaching -
The warning location has just been reached. Ony a single
WarningStatus.reachedis given for each warning.Declaration
Swift
case reached -
The vehicle is inside the warned area.
Declaration
Swift
case inside -
The warning location has been passed. Ony a single
WarningStatus.passedis given for each warning.Declaration
Swift
case passed