Language

Notification.TvExtender.SetContentIntent(PendingIntent) Method

Definition

Supplies a PendingIntent to be sent when the notification is selected on TV.

[Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)]
public Android.App.Notification.TvExtender SetContentIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)>]
member this.SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.TvExtender

Parameters

intent
PendingIntent

PendingIntent: the PendingIntent for the associated notification content. This value may be null.

Returns

this object for method chaining. This value cannot be null.

Attributes

Remarks

Supplies a PendingIntent to be sent when the notification is selected on TV. If provided, it is used instead of the content intent specified at the level of Notification.

Android reference for android.app.Notification.TvExtender.setContentIntent.

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