Language

AlwaysOnHotwordDetector.Callback.OnDetected Method

Definition

Called when the keyphrase is detected.

[Android.Runtime.Register("onDetected", "(Landroid/service/voice/AlwaysOnHotwordDetector$EventPayload;)V", "GetOnDetected_Landroid_service_voice_AlwaysOnHotwordDetector_EventPayload_Handler")]
public abstract void OnDetected(Android.Service.Voice.AlwaysOnHotwordDetector.EventPayload eventPayload);
[<Android.Runtime.Register("onDetected", "(Landroid/service/voice/AlwaysOnHotwordDetector$EventPayload;)V", "GetOnDetected_Landroid_service_voice_AlwaysOnHotwordDetector_EventPayload_Handler")>]
abstract member OnDetected : Android.Service.Voice.AlwaysOnHotwordDetector.EventPayload -> unit

Parameters

eventPayload
AlwaysOnHotwordDetector.EventPayload

The detection event data, which can include trigger audio if it was requested.

Attributes

Remarks

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.

Applies to