PhoneticString

data class PhoneticString(val value: String, val language: Locale, 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 a Locale.

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: Locale, alphabet: String)

Properties

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