FileDocCategorySizeDatePackage
ITextToSpeechCallback.javaAPI DocAndroid 5.1 API6028Sat Mar 14 05:48:08 GMT 2015android.speech.tts

ITextToSpeechCallback

public interface ITextToSpeechCallback implements android.os.IInterface
Interface for callbacks from TextToSpeechService {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidonError(java.lang.String utteranceId, int errorCode)
Tells the client that the synthesis has failed.

param
utteranceId Unique id identifying synthesis request.
param
errorCode One of the values from {@link android.speech.tts.v2.TextToSpeech}.

public voidonStart(java.lang.String utteranceId)
Tells the client that the synthesis has started.

param
utteranceId Unique id identifying synthesis request.

public voidonStop(java.lang.String utteranceId)
Tells the client that the synthesis was stopped.

param
utteranceId Unique id identifying synthesis request.

public voidonSuccess(java.lang.String utteranceId)
Tells the client that the synthesis has finished.

param
utteranceId Unique id identifying synthesis request.