TaggedMessage

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
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>

Constructors

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

Properties

Link copied to clipboard

Language of the message in the form of Locale.

Link copied to clipboard

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

Link copied to clipboard

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