GuidanceAnnouncement
data class GuidanceAnnouncement(val id: UniqueId = UniqueId(), val language: String, 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 as an IETF language tag, i.e., a dash-separated two-letter ISO-639 language code, and a two-letter ISO 3166 country code. Example: "en-US"
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: String, message: String, messagePhonetics: Phonetics? = null, announcementType: AnnouncementType, ssmlMessage: String)