diff options
author | Marc Wilson <marcwilson@google.com> | 2013-09-10 15:29:00 +0100 |
---|---|---|
committer | Marc Wilson <marcwilson@google.com> | 2013-09-10 15:41:47 +0100 |
commit | 2921cee3048f7e64ba6645d50a1c1705ef9658f8 (patch) | |
tree | f9ae863ce82e0dca087b04f27459eb1ce5de635a /core/java/android/speech/RecognizerIntent.java | |
parent | e3d0f022826a2a16e64dc9b5353a2a514393881b (diff) | |
download | frameworks_base-2921cee3048f7e64ba6645d50a1c1705ef9658f8.zip frameworks_base-2921cee3048f7e64ba6645d50a1c1705ef9658f8.tar.gz frameworks_base-2921cee3048f7e64ba6645d50a1c1705ef9658f8.tar.bz2 |
Update documentation for speech APIs.
Makes it clear that the intent and service APIs are likely to stream
audio over the network and notes that impact this has on bandwidth and
battery life.
Also clarifies that the service API should not be used for continuous
recognition as a result. The intent API only runs when the activity is
in the foreground so I didn't mention continuous recognition for it.
Bug: 10674392
Change-Id: Ib5e0c16b3124f4b7d892ef5bd4167f23662d2ca3
Diffstat (limited to 'core/java/android/speech/RecognizerIntent.java')
-rw-r--r-- | core/java/android/speech/RecognizerIntent.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/speech/RecognizerIntent.java b/core/java/android/speech/RecognizerIntent.java index 457e66c..e991d84 100644 --- a/core/java/android/speech/RecognizerIntent.java +++ b/core/java/android/speech/RecognizerIntent.java @@ -55,7 +55,10 @@ public class RecognizerIntent { * <p>Starting this intent with just {@link Activity#startActivity(Intent)} is not supported. * You must either use {@link Activity#startActivityForResult(Intent, int)}, or provide a * PendingIntent, to receive recognition results. - * + * + * <p>The implementation of this API is likely to stream audio to remote servers to perform + * speech recognition which can use a substantial amount of bandwidth. + * * <p>Required extras: * <ul> * <li>{@link #EXTRA_LANGUAGE_MODEL} |