TextToSpeechFactory

Factory class to create a Text-to-Speech instance.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
actual val canChangeVolume: Boolean = true
Link copied to clipboard
expect val isSupported: Boolean
actual val isSupported: Boolean = true

Functions

Link copied to clipboard
expect suspend fun create(): Result<TextToSpeechInstance>
actual suspend fun create(): Result<TextToSpeechInstance>
Link copied to clipboard
expect suspend fun createOrNull(): TextToSpeechInstance?
actual suspend fun createOrNull(): TextToSpeechInstance?
Link copied to clipboard
expect suspend fun createOrThrow(): TextToSpeechInstance
actual suspend fun createOrThrow(): TextToSpeechInstance