Android.Service.Voice.AlwaysOnHotwordDetector.StopRecognition Method
Stops recognition for the associated keyphrase.

Syntax

[Android.Runtime.Register("stopRecognition", "()Z", "GetStopRecognitionHandler")]
public virtual bool StopRecognition ()

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

Stops 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