FileDocCategorySizeDatePackage
AlwaysOnHotwordDetector.javaAPI DocAndroid 5.1 API1822Sat Mar 14 14:09:40 GMT 2015android.service.voice

AlwaysOnHotwordDetector.java

package android.service.voice;
public class AlwaysOnHotwordDetector
{
public static class EventPayload
{
EventPayload() { throw new RuntimeException("Stub!"); }
public  android.media.AudioFormat getCaptureAudioFormat() { throw new RuntimeException("Stub!"); }
public  byte[] getTriggerAudio() { throw new RuntimeException("Stub!"); }
}
public abstract static class Callback
{
public  Callback() { throw new RuntimeException("Stub!"); }
public abstract  void onAvailabilityChanged(int status);
public abstract  void onDetected(android.service.voice.AlwaysOnHotwordDetector.EventPayload eventPayload);
public abstract  void onError();
public abstract  void onRecognitionPaused();
public abstract  void onRecognitionResumed();
}
AlwaysOnHotwordDetector() { throw new RuntimeException("Stub!"); }
public  int getSupportedRecognitionModes() { throw new RuntimeException("Stub!"); }
public  boolean startRecognition(int recognitionFlags) { throw new RuntimeException("Stub!"); }
public  boolean stopRecognition() { throw new RuntimeException("Stub!"); }
public  android.content.Intent createEnrollIntent() { throw new RuntimeException("Stub!"); }
public  android.content.Intent createUnEnrollIntent() { throw new RuntimeException("Stub!"); }
public  android.content.Intent createReEnrollIntent() { throw new RuntimeException("Stub!"); }
public static final int RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS = 2;
public static final int RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO = 1;
public static final int RECOGNITION_MODE_USER_IDENTIFICATION = 2;
public static final int RECOGNITION_MODE_VOICE_TRIGGER = 1;
public static final int STATE_HARDWARE_UNAVAILABLE = -2;
public static final int STATE_KEYPHRASE_ENROLLED = 2;
public static final int STATE_KEYPHRASE_UNENROLLED = 1;
public static final int STATE_KEYPHRASE_UNSUPPORTED = -1;
}