Tile.ActivityLaunchForClick Property

Definition

Gets the Activity PendingIntent to be launched when the tile is clicked. -or- Sets an Activity PendingIntent to be launched when the tile is clicked.

public Android.App.PendingIntent? ActivityLaunchForClick { [Android.Runtime.Register("getActivityLaunchForClick", "()Landroid/app/PendingIntent;", "", ApiSince=34)] get; [Android.Runtime.Register("setActivityLaunchForClick", "(Landroid/app/PendingIntent;)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getActivityLaunchForClick", "()Landroid/app/PendingIntent;", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setActivityLaunchForClick", "(Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
member this.ActivityLaunchForClick : Android.App.PendingIntent with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Gets the Activity PendingIntent to be launched when the tile is clicked.

Java documentation for android.service.quicksettings.Tile.getActivityLaunchForClick().

Property setter documentation:

Sets an Activity PendingIntent to be launched when the tile is clicked.

The last value set here will be launched when the user clicks in the tile, instead of forwarding the `onClick` message to the TileService. Set to null to handle the `onClick` in the `TileService` (This is the default behavior if this method is never called.)

Java documentation for android.service.quicksettings.Tile.setActivityLaunchForClick(android.app.PendingIntent).

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