diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2015-06-12 17:07:03 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2015-06-12 18:32:13 +0100 |
commit | f77b2de1a9affa877f35f3efb23dfd50a1e9af0a (patch) | |
tree | 2f8cf84def41ff40aca4f366b22c229fbcb7f73e /core/java/android/speech | |
parent | e61fc94b9b6d4ccba60cca9ac0e0a67539f18780 (diff) | |
download | frameworks_base-f77b2de1a9affa877f35f3efb23dfd50a1e9af0a.zip frameworks_base-f77b2de1a9affa877f35f3efb23dfd50a1e9af0a.tar.gz frameworks_base-f77b2de1a9affa877f35f3efb23dfd50a1e9af0a.tar.bz2 |
Fixes for API Review: android.speech.tts
Bug: 21571893
Change-Id: Icd25f4aa9a465050c7410c7bfec004a71ba24548
Diffstat (limited to 'core/java/android/speech')
-rw-r--r-- | core/java/android/speech/tts/UtteranceProgressListener.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/speech/tts/UtteranceProgressListener.java b/core/java/android/speech/tts/UtteranceProgressListener.java index 9eb22ef..890ea3d 100644 --- a/core/java/android/speech/tts/UtteranceProgressListener.java +++ b/core/java/android/speech/tts/UtteranceProgressListener.java @@ -61,16 +61,16 @@ public abstract class UtteranceProgressListener { /** * Called when an utterance has been stopped while in progress or flushed from the - * synthesis queue. This can happen if client calls {@link TextToSpeech#stop()} - * or use {@link TextToSpeech#QUEUE_FLUSH} as an argument in + * synthesis queue. This can happen if a client calls {@link TextToSpeech#stop()} + * or uses {@link TextToSpeech#QUEUE_FLUSH} as an argument with the * {@link TextToSpeech#speak} or {@link TextToSpeech#synthesizeToFile} methods. * * @param utteranceId the utterance ID of the utterance. - * @param isStarted If true, then utterance was interrupted while being synthesized - * and it's output is incomplete. If it's false, then utterance was flushed + * @param interrupted If true, then the utterance was interrupted while being synthesized + * and its output is incomplete. If false, then the utterance was flushed * before the synthesis started. */ - public void onStop(String utteranceId, boolean isStarted) { + public void onStop(String utteranceId, boolean interrupted) { } /** @@ -99,7 +99,7 @@ public abstract class UtteranceProgressListener { } @Override - public void onStop(String utteranceId, boolean isStarted) { + public void onStop(String utteranceId, boolean interrupted) { listener.onUtteranceCompleted(utteranceId); } }; |