PhoneticString
data class PhoneticString( val value: String, val language: String, val alphabet: String)
Content copied to clipboard
Represents a phonetic string.
Important: This is a Public Preview API. It may be changed or removed at any time.
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.