Language

RecognitionFlag Enum

Definition

Enumerates values returned by the AllowMultipleTriggers, CaptureTriggerAudio, and None members and taken as a parameter of the F:Android.Service.Voice.AlwaysOnHotwordDetector.StartRecognition member.

public enum RecognitionFlag
type RecognitionFlag = 
Inheritance
RecognitionFlag

Fields

Name Value Description
None 0

No optional recognition flags are set.

CaptureTriggerAudio 1

Request capture of the audio that triggers keyphrase detection.

AllowMultipleTriggers 2

Keep recognition active after a keyphrase trigger so that further triggers can be reported.

EnableAudioEchoCancellation 4

Request acoustic echo cancellation during recognition. No effect is applied if the audio module does not support this capability.

EnableAudioNoiseSuppression 8

Request noise suppression during recognition. No effect is applied if the audio module does not support this capability.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to