Język

HotwordDetectorState Enum

Definition

Enumerates values returned by several methods of HotwordDetectorState and taken as a parameter of the F:Android.Service.Voice.AlwaysOnHotwordDetector+Callback.OnAvailabilityChanged member.

public enum HotwordDetectorState
type HotwordDetectorState = 
Inheritance
HotwordDetectorState

Fields

Name Value Description
HardwareUnavailable -2

The hardware cannot recognize the keyphrase. Do not use this detector for further operations.

KeyphraseUnsupported -1

Legacy state indicating an unsupported keyphrase. Android no longer uses this state because enrollment can occur through another privileged application.

KeyphraseUnenrolled 1

The keyphrase is not enrolled. The caller can start an enrollment flow.

KeyphraseEnrolled 2

The keyphrase is enrolled and recognition can be started.

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