Language

AgentTaskEvent.ClickAction Property

Definition

PendingIntent to send when the event text in the status bar is clicked.

public Android.App.PendingIntent? ClickAction { [Android.Runtime.Register("getClickAction", "()Landroid/app/PendingIntent;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getClickAction", "()Landroid/app/PendingIntent;", "", ApiSince=37)>]
member this.ClickAction : Android.App.PendingIntent

Property Value

the action to execute when the element is clicked.

Attributes

Remarks

The action must target an activity. When agent-task launches are supported, a null value uses the application's default agent-task action. Systems without launch support ignore this value.

To receive the clicked element's screen bounds, use a mutable pending intent with SourceBounds.

Applies to