SpeechSynthesisVoice

actual external interface SpeechSynthesisVoice : JsAny(source)

The SpeechSynthesisVoice interface of the Web Speech API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

expect interface SpeechSynthesisVoice(source)

The SpeechSynthesisVoice interface of the Web Speech API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

actual external interface SpeechSynthesisVoice : JsAny(source)

The SpeechSynthesisVoice interface of the Web Speech API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

Properties

Link copied to clipboard
actual abstract val default: Boolean

A Boolean indicating whether the voice is the default voice for the current app language (true), or not (false.)

expect abstract val default: Boolean

A Boolean indicating whether the voice is the default voice for the current app language (true), or not (false.)

actual abstract val default: Boolean

A Boolean indicating whether the voice is the default voice for the current app language (true), or not (false.)

Link copied to clipboard
actual abstract val lang: String

Returns a BCP 47 language tag indicating the language of the voice.

expect abstract val lang: String

Returns a BCP 47 language tag indicating the language of the voice.

actual abstract val lang: String

Returns a BCP 47 language tag indicating the language of the voice.

Link copied to clipboard
actual abstract val localService: Boolean

A Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)

expect abstract val localService: Boolean

A Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)

actual abstract val localService: Boolean

A Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)

Link copied to clipboard
actual abstract val name: String

Returns a human-readable name that represents the voice.

expect abstract val name: String

Returns a human-readable name that represents the voice.

actual abstract val name: String

Returns a human-readable name that represents the voice.

Link copied to clipboard
actual abstract val voiceURI: String

Returns the type of URI and location of the speech synthesis service for this voice.

expect abstract val voiceURI: String

Returns the type of URI and location of the speech synthesis service for this voice.

actual abstract val voiceURI: String

Returns the type of URI and location of the speech synthesis service for this voice.