Sdílet prostřednictvím


Android.Service.Voice Namespace

Classes

AlwaysOnHotwordDetector

A class that lets a VoiceInteractionService implementation interact with always-on keyphrase detection APIs.

AlwaysOnHotwordDetector.Callback

Callbacks for always-on hotword detection.

AlwaysOnHotwordDetector.EventPayload

Additional payload for Callback#onDetected.

AlwaysOnHotwordDetector.ModelParamRange

A ModelParamRange is a representation of supported parameter range for a given loaded model.

VisibleActivityInfo

The class is used to represent a visible activity information.

VisibleActivityInfo.InterfaceConsts
VoiceInteractionService

Top-level service of the current global voice interactor, which is providing support for hotwording, the back-end of a android.app.VoiceInteractor, etc.

VoiceInteractionSession

An active voice interaction session, providing a facility for the implementation to interact with the user in the voice interaction layer.

VoiceInteractionSession.AbortVoiceRequest

A request to report that the current user interaction can not be completed with voice, as per android.app.VoiceInteractor.AbortVoiceRequest VoiceInteractor.AbortVoiceRequest.

VoiceInteractionSession.ActivityId

Represents the id of an assist source activity.

VoiceInteractionSession.AssistState

Represents assist state captured when this session was started.

VoiceInteractionSession.CommandRequest

A generic vendor-specific request, as per android.app.VoiceInteractor.CommandRequest VoiceInteractor.CommandRequest.

VoiceInteractionSession.CompleteVoiceRequest

A request to simply inform the user that the voice operation has completed, as per android.app.VoiceInteractor.CompleteVoiceRequest VoiceInteractor.CompleteVoiceRequest.

VoiceInteractionSession.ConfirmationRequest

A request for confirmation from the user of an operation, as per android.app.VoiceInteractor.ConfirmationRequest VoiceInteractor.ConfirmationRequest.

VoiceInteractionSession.Insets

Information about where interesting parts of the input method UI appear.

VoiceInteractionSession.InterfaceConsts
VoiceInteractionSession.PickOptionRequest

A request for the user to pick from a set of option, as per android.app.VoiceInteractor.PickOptionRequest VoiceInteractor.PickOptionRequest.

VoiceInteractionSession.Request

Base class representing a request from a voice-driver app to perform a particular voice operation with the user.

VoiceInteractionSessionService

An active voice interaction session, initiated by a VoiceInteractionService.

Interfaces

VoiceInteractionSession.IVisibleActivityCallback

Callback interface for receiving visible activity changes used for assistant usage.

Enums

AlwaysOnHotwordDetectorAudioCapability
HotwordDetectorState

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

ModelType
RecognitionFlag

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

RecognitionMode

Enumerates values returned by the UserIdentification, and VoiceTrigger members.

ShowFlags
ToucheableInsetsType