TrafficIncidentBase

public protocol TrafficIncidentBase : AnyObject

TrafficIncident provides details about a traffic incident.

  • The impact of the incident.

    Declaration

    Swift

    var impact: TrafficIncidentImpact { get }
  • The category of the incident.

    Declaration

    Swift

    var type: TrafficIncidentType { get }
  • The human readable description of the incident, possibly with location information.

    Declaration

    Swift

    var description: LocalizedText { get }
  • The time from which the incident is valid, before this time the incident should not be considered.

    Declaration

    Swift

    var startTime: Date? { get }
  • The time until which the incident is valid, after this time the incident should not be considered.

    Declaration

    Swift

    var endTime: Date? { get }