PhoneticString

data class PhoneticString(    val value: String,     val language: String,     val alphabet: String)

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.

Constructors

Link copied to clipboard
fun PhoneticString(    value: String,     language: String,     alphabet: String)

Properties

Link copied to clipboard
val alphabet: String
Link copied to clipboard
val language: String
Link copied to clipboard
val value: String