FileDocCategorySizeDatePackage
IRecognitionStatusCallback.javaAPI DocAndroid 5.1 API5795Sat Mar 14 05:48:02 GMT 2015android.hardware.soundtrigger

IRecognitionStatusCallback

public interface IRecognitionStatusCallback implements android.os.IInterface
hide

Fields Summary
Constructors Summary
Methods Summary
public voidonDetected(android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent recognitionEvent)
Called when the keyphrase is spoken.

param
data Optional trigger audio data, if it was requested and is available.

public voidonError(int status)
Called when the detection fails due to an error.

param
status The error code that was seen.

public voidonRecognitionPaused()
Called when the recognition is paused temporarily for some reason.

public voidonRecognitionResumed()
Called when the recognition is resumed after it was temporarily paused.