TextWithPhonetics

data class TextWithPhonetics(val plainText: String, val plainTextLanguage: String = "", val phoneticString: PhoneticString? = null)

Represents a localized string with optional phonetics information.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

plainText

Plain text value.

plainTextLanguage

Language for the plain text value 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"

phoneticString

Phonetic string, if available.

Constructors

Link copied to clipboard
fun TextWithPhonetics(plainText: String, plainTextLanguage: String = "", phoneticString: PhoneticString? = null)

Properties

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