TaggedMessage

data class TaggedMessage(val message: String, val phonetics: List<PhoneticTranscription>, val language: Locale)

Represents a tagged message, with tags surrounding phrases whose phonetic transcriptions are provided via phonetics.

For example: Turn left onto <roadNumber>A4</roadNumber> and then <roadNumber>A5</roadNumber> towards <signpostText>Scheepvaartmuseum</signpostText>

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

message

Message containing tags to be synthesized as in the example above.

phonetics

Phonetic data of the message to be used for phrases surrounded by tags.

language

Language of the message in the form of Locale.

Constructors

Link copied to clipboard
fun TaggedMessage(message: String, phonetics: List<PhoneticTranscription>, language: Locale)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard