Језик

AgentTaskState.ClickAction Property

Definition

PendingIntent to send when the state icon 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. On systems that support agent-task launches, a null action makes the state icon non-clickable; systems without that support ignore this action.

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

Applies to