Added in API level 4
Deprecated in API level 18

OnUtteranceCompletedListener


interface OnUtteranceCompletedListener
android.speech.tts.TextToSpeech.OnUtteranceCompletedListener

Listener that will be called when the TTS service has completed synthesizing an utterance. This is only called if the utterance has an utterance ID (see TextToSpeech.Engine#KEY_PARAM_UTTERANCE_ID).

Summary

Public methods
abstract Unit

Called when an utterance has been synthesized.

Public methods

onUtteranceCompleted

Added in API level 4
abstract fun onUtteranceCompleted(utteranceId: String!): Unit

Deprecated: Deprecated in Java.

Called when an utterance has been synthesized.

Parameters
utteranceId String!: the identifier of the utterance.