Android.Service.Voice.AlwaysOnHotwordDetector.CreateReEnrollIntent Method
Creates an intent to start the re-enrollment for the associated keyphrase.

Syntax

[Android.Runtime.Register("createReEnrollIntent", "()Landroid/content/Intent;", "GetCreateReEnrollIntentHandler")]
public virtual Android.Content.Intent CreateReEnrollIntent ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif managing they keyphrase 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

Creates an intent to start the re-enrollment for the associated keyphrase. This intent must be invoked using Android.App.Activity.StartActivityForResult(Android.Content.Intent, System.Int32). Starting re-enrollment is only valid if the keyphrase is already enrolled, i.e. AlwaysOnHotwordDetector.STATE_KEYPHRASE_ENROLLED, otherwise invoking this may result in an error.

[Android Documentation]

Requirements

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