Notification.BubbleMetadata.Builder.SetIntent(PendingIntent) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
バブルの意図を設定します。
[Android.Runtime.Register("setIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)]
public Android.App.Notification.BubbleMetadata.Builder SetIntent(Android.App.PendingIntent intent);
[<Android.Runtime.Register("setIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$BubbleMetadata$Builder;", "", ApiSince=29)>]
member this.SetIntent : Android.App.PendingIntent -> Android.App.Notification.BubbleMetadata.Builder
パラメーター
- intent
- PendingIntent
PendingIntent: この値を null にすることはできません。
返品
この Android.App.Notification.BubbleMetadata.Builder インスタンスでは、呼び出しをチェーンできます。
- 属性
注釈
バブルの意図を設定します。 バブルが展開されるときに使用される意図。 これにより、既存のフォアグラウンド アクティビティの上のフローティング ウィンドウにアプリのコンテンツが表示されます。 意図は、サイズ変更可能なアクティビティを指している必要があります。
スロー: このビルダーが Builder.Builder(String) を使用して作成された場合、IllegalStateException。
スロー: 意図が null の場合は NullPointerException。
android.app.Notification.BubbleMetadata.Builder.setIntentの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。