PhoneticString

fun PhoneticString(value: String, language: String, alphabet: String)

Parameters

value

UTF-8 encoded string representing the phonetic encoding.

language

The language of the phonetic string 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"

alphabet

Phonetic alphabet to be used as the value of ssml:alphabet tag to conform to "Phonetic Alphabet Registry" encoded as UTF-8 string.