summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-08-29 18:49:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-29 18:49:40 +0000
commit80e8b901b344bf6cf206aa90ff96efb052af966c (patch)
treea0eadafc5728106920585df49dbe356acec169eb /api
parentec187b726b9227239f7a678e0872f52f53dfa271 (diff)
parent3e3a7a4c08134d97388681e12b0d363b49ee31e7 (diff)
am efe6c903: am cffbcb8a: Merge "Address API review comments" into lmp-dev
* commit 'efe6c9032d1a1463aeda62e034c7fe42db5866e9': Address API review comments
Diffstat (limited to 'api')
-rw-r--r--api/current.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt
index 84c175c49956..686d6ab5728d 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -27198,16 +27198,14 @@ package android.service.textservice {
package android.service.voice {
public class AlwaysOnHotwordDetector {
- method public android.content.Intent getManageIntent(int);
+ method public android.content.Intent createIntentToEnroll();
+ method public android.content.Intent createIntentToReEnroll();
+ method public android.content.Intent createIntentToUnEnroll();
method public int getSupportedRecognitionModes();
method public boolean startRecognition(int);
method public boolean stopRecognition();
- field public static final int MANAGE_ACTION_ENROLL = 0; // 0x0
- field public static final int MANAGE_ACTION_RE_ENROLL = 1; // 0x1
- field public static final int MANAGE_ACTION_UN_ENROLL = 2; // 0x2
field public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2; // 0x2
field public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1; // 0x1
- field public static final int RECOGNITION_FLAG_NONE = 0; // 0x0
field public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2; // 0x2
field public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1; // 0x1
field public static final int STATE_HARDWARE_UNAVAILABLE = -2; // 0xfffffffe
@@ -27216,7 +27214,8 @@ package android.service.voice {
field public static final int STATE_KEYPHRASE_UNSUPPORTED = -1; // 0xffffffff
}
- public static abstract interface AlwaysOnHotwordDetector.Callback {
+ public static abstract class AlwaysOnHotwordDetector.Callback {
+ ctor public AlwaysOnHotwordDetector.Callback();
method public abstract void onAvailabilityChanged(int);
method public abstract void onDetected(android.service.voice.AlwaysOnHotwordDetector.EventPayload);
method public abstract void onError();