Aracılığıyla paylaş


Notification.Builder.SetContentIntent(PendingIntent) Method

Definition

Supply a PendingIntent to be sent when the notification is clicked.

[Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetContentIntent_Landroid_app_PendingIntent_Handler")]
public virtual Android.App.Notification.Builder SetContentIntent (Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetContentIntent_Landroid_app_PendingIntent_Handler")>]
abstract member SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.Builder
override this.SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.Builder

Parameters

intent
PendingIntent

The PendingIntent to send.

Returns

Attributes

Remarks

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

See also