Language

ContextUnderstanderService.OnHandleEvent(String, InsightEvent) Method

Definition

Override this method to receive logging events for actions taken on the insight.

[Android.Runtime.Register("onHandleEvent", "(Ljava/lang/String;Landroid/service/personalcontext/insight/interaction/InsightEvent;)V", "GetOnHandleEvent_Ljava_lang_String_Landroid_service_personalcontext_insight_interaction_InsightEvent_Handler", ApiSince=37)]
public virtual void OnHandleEvent(string packageName, Android.Service.PersonalContext.Insight.Interaction.InsightEvent e);
[<Android.Runtime.Register("onHandleEvent", "(Ljava/lang/String;Landroid/service/personalcontext/insight/interaction/InsightEvent;)V", "GetOnHandleEvent_Ljava_lang_String_Landroid_service_personalcontext_insight_interaction_InsightEvent_Handler", ApiSince=37)>]
abstract member OnHandleEvent : string * Android.Service.PersonalContext.Insight.Interaction.InsightEvent -> unit
override this.OnHandleEvent : string * Android.Service.PersonalContext.Insight.Interaction.InsightEvent -> unit

Parameters

packageName
String

the package of the application reporting the event.

Attributes

Applies to