Added in API level 4

OnInitListener


interface OnInitListener
android.speech.tts.TextToSpeech.OnInitListener

Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization.

Summary

Public methods
abstract Unit
onInit(status: Int)

Called to signal the completion of the TextToSpeech engine initialization.

Public methods

onInit

Added in API level 4
abstract fun onInit(status: Int): Unit

Called to signal the completion of the TextToSpeech engine initialization.

Parameters
status Int: TextToSpeech.SUCCESS or TextToSpeech.ERROR.