AgentTaskState.ClickAction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.