createOrNothing

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

Deprecated

Use create or createOrNull instead

Replace with

createOrNull(context, callback)

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