Share via


AlwaysOnHotwordDetector Class

Definition

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

[Android.Runtime.Register("android/service/voice/AlwaysOnHotwordDetector", DoNotGenerateAcw=true)]
public class AlwaysOnHotwordDetector : Java.Lang.Object
[<Android.Runtime.Register("android/service/voice/AlwaysOnHotwordDetector", DoNotGenerateAcw=true)>]
type AlwaysOnHotwordDetector = class
    inherit Object
Inheritance
AlwaysOnHotwordDetector
Attributes

Remarks

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

Java documentation for android.service.voice.AlwaysOnHotwordDetector.

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.

Constructors

AlwaysOnHotwordDetector(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

AudioCapabilityEchoCancellation
Obsolete.

If set the underlying module supports AEC.

AudioCapabilityNoiseSuppression
Obsolete.

If set, the underlying module supports noise suppression.

ModelParamThresholdFactor
Obsolete.

Controls the sensitivity threshold adjustment factor for a given model.

RecognitionFlagEnableAudioEchoCancellation
Obsolete.

Audio capabilities flag for #startRecognition(int) that indicates if the underlying recognition should use AEC.

RecognitionFlagEnableAudioNoiseSuppression
Obsolete.

Audio capabilities flag for #startRecognition(int) that indicates if the underlying recognition should use noise suppression.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
SupportedAudioCapabilities

Get the audio capabilities supported by the platform which can be enabled when starting a recognition.

SupportedRecognitionModes

Gets the recognition modes supported by the associated keyphrase.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CreateEnrollIntent()

Creates an intent to start the enrollment for the associated keyphrase.

CreateReEnrollIntent()

Creates an intent to start the re-enrollment for the associated keyphrase.

CreateUnEnrollIntent()

Creates an intent to start the un-enrollment for the associated keyphrase.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetParameter(Int32)

Get a model specific ModelParams.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
QueryParameter(Int32)

Determine if parameter control is supported for the given model handle.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetParameter(Int32, Int32)

Set a model specific ModelParams with the given value.

StartRecognition(RecognitionFlag)

Starts recognition for the associated keyphrase.

StopRecognition()

Stops recognition for the associated keyphrase.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to