言語

Notification.ProjectedExtender.SetContentIntent(PendingIntent) メソッド

定義

通知がそのデバイスでタップされたときに、Projected デバイスで開く PendingIntent を設定します。

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

パラメーター

intent
PendingIntent

PendingIntent をタップすると起動します。 この値は null である可能性があります。

返品

この ProjectedExtender オブジェクトをチェーン用に使用します。 この値は null にすることはできません。

属性

注釈

通知がそのデバイスでタップされたときに、Projected デバイスで開く PendingIntent を設定します。 これは、通知のメイン Notification.contentIntent とは異なります。通常、通知がホスト デバイス (電話など) でタップされたときに発生します。

android.app.Notification.ProjectedExtender.setContentIntentの Android リファレンス。

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

適用対象