Announcement
data class Announcement( val id: UniqueId = UniqueId(), val point: GeoCoordinate? = null, val distance: Distance, val type: String, val maneuver: AnnouncementManeuver? = null, val message: String = "", val verbalMessage: String = "", val verbalMessagePhonetics: Phonetics? = null, val nextManeuver: AnnouncementManeuver? = null)
Content copied to clipboard
Fine-grained announcement points, each with its own message, location and distance to the instruction point.
Parameters
id
Id of Announcement.
point
Location of the announcement defined as a latitude longitude pair.
type
Type of Announcement.
maneuver
Code identifying the maneuver (e.g., 'Turn right').
message
A human-readable message for the maneuver.
verbalMessage
A verbal message for the maneuver.
verbalMessagePhonetics
Phonetic strings of all of the readable Instruction properties.
nextManeuver
Optional maneuver of the next instruction.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
fun Announcement( id: UniqueId = UniqueId(), point: GeoCoordinate? = null, distance: Distance, type: String, maneuver: AnnouncementManeuver? = null, message: String = "", verbalMessage: String = "", verbalMessagePhonetics: Phonetics? = null, nextManeuver: AnnouncementManeuver? = null)
Content copied to clipboard