createOrNull
expect fun createOrNull(context: Context, callback: (TextToSpeechInstance?) -> Unit)
Content copied to clipboard
Creates a new TextToSpeechInstance. Will call callback with null if TTS is not supported.
Creates a new TextToSpeechInstance. Will return null if TTS is not supported.