createOrNothing

expect fun createOrNothing(context: Context, callback: (TextToSpeechInstance) -> Unit)

Creates a new TextToSpeechInstance. Will do nothing and will not execute callback when TTS is not supported.

Sources

Link copied to clipboard