Android.Service.Voice.VoiceInteractionService.CreateAlwaysOnHotwordDetector Method
Creates an Android.Service.Voice.AlwaysOnHotwordDetector for the given keyphrase and locale.

Syntax

[Android.Runtime.Register("createAlwaysOnHotwordDetector", "(Ljava/lang/String;Ljava/util/Locale;Landroid/service/voice/AlwaysOnHotwordDetector$Callback;)Landroid/service/voice/AlwaysOnHotwordDetector;", "")]
public AlwaysOnHotwordDetector CreateAlwaysOnHotwordDetector (string keyphrase, Java.Util.Locale locale, AlwaysOnHotwordDetector.Callback callback)

Parameters

keyphrase
The keyphrase that's being used, for example "Hello Android".
locale
The locale for which the enrollment needs to be performed.
callback
The callback to notify of detection events.

Returns

Documentation for this section has not yet been entered.

Remarks

Creates an Android.Service.Voice.AlwaysOnHotwordDetector for the given keyphrase and locale. This instance must be retained and used by the client. Calling this a second time invalidates the previously created hotword detector which can no longer be used to manage recognition.

[Android Documentation]

Requirements

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