GuidanceAnnouncement
data class GuidanceAnnouncement(val id: UniqueId = UniqueId(), val language: Locale, val message: String, val messagePhonetics: Phonetics? = null, val announcementType: AnnouncementType, val ssmlMessage: String)
Guidance announcement relating to a maneuver during navigation. The announcement text message is provided in both Speech Synthesis Markup Language (SSML) and plain-text formats.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
id
The ID of the announcement.
language
The language of the message
message
A verbal message for the maneuver.
messagePhonetics
Phonetic strings of all of the readable Instruction properties.
announcementType
Type of the announcement.
ssmlMessage
A verbal message for the maneuver in SSML format.
Constructors
Link copied to clipboard
fun GuidanceAnnouncement(id: UniqueId = UniqueId(), language: Locale, message: String, messagePhonetics: Phonetics? = null, announcementType: AnnouncementType, ssmlMessage: String)