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.ahead is given for each warning.

    Declaration

    Swift

    case ahead
  • The warning is ahead with the updated distance till the WarningStatus.reached notification.

    Declaration

    Swift

    case approaching
  • The warning location has just been reached. Ony a single WarningStatus.reached is 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.passed is given for each warning.

    Declaration

    Swift

    case passed