summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2013-09-06 16:39:52 -0700
committerSandeep Siddhartha <sansid@google.com>2013-09-06 16:39:52 -0700
commitc7deeffb0c649eb911bbbbd32a1de34aab0b1eb6 (patch)
tree3abbaba1c89b0f13ff1c287a8edf8a8c26566619 /api/current.txt
parent5109041f79fb6f649cecadf15008bb173b7bc831 (diff)
downloadframeworks_base-c7deeffb0c649eb911bbbbd32a1de34aab0b1eb6.zip
frameworks_base-c7deeffb0c649eb911bbbbd32a1de34aab0b1eb6.tar.gz
frameworks_base-c7deeffb0c649eb911bbbbd32a1de34aab0b1eb6.tar.bz2
Updating current.txt after unhiding HotwordRecognition API
Change-Id: Ib9975c857cba2ac0fbadc85ae5f44d278943238e
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index f77c3e5..4e17144 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -22798,6 +22798,26 @@ package android.speech {
}
+package android.speech.hotword {
+
+ public abstract class HotwordRecognitionService extends android.app.Service {
+ ctor public HotwordRecognitionService();
+ 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 java.lang.String SERVICE_INTERFACE = "android.speech.hotword.HotwordRecognitionService";
+ }
+
+ public static class HotwordRecognitionService.Callback {
+ method public void onError(int) throws android.os.RemoteException;
+ method public void onHotwordEvent(int, android.os.Bundle) throws android.os.RemoteException;
+ method public void onHotwordRecognitionStarted() throws android.os.RemoteException;
+ method public void onHotwordRecognitionStopped() throws android.os.RemoteException;
+ method public void onHotwordRecognized(android.content.Intent) throws android.os.RemoteException;
+ }
+
+}
+
package android.speech.tts {
public abstract interface SynthesisCallback {