Android.Service.Voice.AlwaysOnHotwordDetector.StartRecognition Method
Starts recognition for the associated keyphrase.

Syntax

[Android.Runtime.Register("startRecognition", "(I)Z", "GetStartRecognition_IHandler")]
public virtual bool StartRecognition ([Android.Runtime.GeneratedEnum] RecognitionFlag recognitionFlags)

Parameters

recognitionFlags
The flags to control the recognition properties.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif the recognition isn't supported. Callers should only call this method after a supported state callback on NoType:android/service/voice/AlwaysOnHotwordDetector$Callback;Href=../../../../reference/android/service/voice/AlwaysOnHotwordDetector.Callback.html#onAvailabilityChanged(int) to avoid this exception.
Java.Lang.IllegalStateExceptionif the detector is in an invalid state. This may happen if another detector has been instantiated or the Android.Service.Voice.VoiceInteractionService hosting this detector has been shut down.

Remarks

Starts recognition for the associated keyphrase.

[Android Documentation]

Requirements

Namespace: Android.Service.Voice
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0