lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 4

TextToSpeech.OnInitListener

public static interface TextToSpeech.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 void onInit(int status)

Called to signal the completion of the TextToSpeech engine initialization.

Public methods

onInit

added in API level 4
public abstract void onInit (int status)

Called to signal the completion of the TextToSpeech engine initialization.

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