summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2013-09-06 17:21:45 -0700
committerSandeep Siddhartha <sansid@google.com>2013-09-06 18:12:11 -0700
commit1f0ef2cc33e5b8fe00a869c22eabfd08cf7de504 (patch)
tree05d0e2d180432fcf2f5accee238f7be5f29d9790 /api/current.txt
parent1cf2b91fe533d9e50bce6e5551ae26bccdb4a965 (diff)
downloadframeworks_base-1f0ef2cc33e5b8fe00a869c22eabfd08cf7de504.zip
frameworks_base-1f0ef2cc33e5b8fe00a869c22eabfd08cf7de504.tar.gz
frameworks_base-1f0ef2cc33e5b8fe00a869c22eabfd08cf7de504.tar.bz2
Move public consts to HotwordRecognitionService
- The HotwordRecognitionService is the only public component of Hotword recognition allowing others to implement hotword recognition - The client API is not available for use by all, hence the consts need to be moved to the service class. - Ideally we'd have retained the public consts in the client side API (HotwordRecognizer) Change-Id: Ibd0d1c0d0514ec4e8f7c284e22c5fa6b7ef3df26
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 4e17144..ed1cd7b 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -22805,6 +22805,15 @@ package android.speech.hotword {
method public android.os.IBinder onBind(android.content.Intent);
method public abstract void onStartHotwordRecognition(android.speech.hotword.HotwordRecognitionService.Callback);
method public abstract void onStopHotwordRecognition();
+ field public static final int ERROR_AUDIO = 1; // 0x1
+ field public static final int ERROR_CLIENT = 4; // 0x4
+ field public static final int ERROR_FAILED = 3; // 0x3
+ field public static final int ERROR_RECOGNIZER_BUSY = 2; // 0x2
+ field public static final int ERROR_SERVICE_ALREADY_STARTED = 6; // 0x6
+ field public static final int ERROR_TIMEOUT = 5; // 0x5
+ field public static final int ERROR_UNAVAILABLE = 7; // 0x7
+ field public static final int EVENT_TYPE_PROMPT_CHANGED = 1; // 0x1
+ field public static final java.lang.String KEY_PROMPT_TEXT = "prompt_text";
field public static final java.lang.String SERVICE_INTERFACE = "android.speech.hotword.HotwordRecognitionService";
}