RemoteViews.SetPendingIntentTemplate(Int32, PendingIntent) Method

Definition

When using collections (eg.

[Android.Runtime.Register("setPendingIntentTemplate", "(ILandroid/app/PendingIntent;)V", "GetSetPendingIntentTemplate_ILandroid_app_PendingIntent_Handler")]
public virtual void SetPendingIntentTemplate (int viewId, Android.App.PendingIntent? pendingIntentTemplate);
[<Android.Runtime.Register("setPendingIntentTemplate", "(ILandroid/app/PendingIntent;)V", "GetSetPendingIntentTemplate_ILandroid_app_PendingIntent_Handler")>]
abstract member SetPendingIntentTemplate : int * Android.App.PendingIntent -> unit
override this.SetPendingIntentTemplate : int * Android.App.PendingIntent -> unit

Parameters

viewId
Int32

The id of the collection who's children will use this PendingIntent template when clicked

pendingIntentTemplate
PendingIntent

The PendingIntent to be combined with extras specified by a child of viewId and executed when that child is clicked

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setPendingIntentTemplate(int, 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