Added in API level 4
Deprecated in API level 18

OnUtteranceCompletedListener


interface 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.

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Jan 3, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 11, 2024

Tracks AGP API deprecations and removals in a central location.

Updated Oct 24, 2024