Announcement

interface Announcement

An announcement is a piece of information about an upcoming event for the user.

For example, a warning about an upcoming traffic jam or a guidance instruction.

This is the base class for all announcements, with the following announcement hierarchy:

Announcement
├── GuidanceAnnouncement
│ ├── FarAway
│ ├── Follow
│ ├── Early
│ ├── Main
│ └── Confirmation
└── WarningAnnouncement
├── TrafficJamAnnouncement
├── ChargingStopReplanningAnnouncement
└── BetterRouteProposalAnnouncement

See also

for announcements that are used to prepare the driver for the next maneuver.

for announcements about route changes or conditions requiring driver's attention.

Each announcement contains a Message that can be either:

Known inheritors:

Inheritors

Properties

Link copied to clipboard
abstract val id: UniqueId

The ID of the announcement. This unique ID remains stable once an Announcement is generated and persists until the announcement is no longer needed (i.e., when it is garbage collected).

Link copied to clipboard
abstract val message: Message

The message of the announcement.