言語

RemoteViews.SetPendingIntentTemplate(Int32, PendingIntent) メソッド

定義

コレクションを使用する場合 (例:

[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

パラメーター

viewId
Int32

クリックしたときにこの PendingIntent テンプレートを使用する子コレクションの ID

pendingIntentTemplate
PendingIntent

viewId の子によって指定され、その子がクリックされたときに実行されるエクストラと組み合わせるPendingIntent

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象