Notification.Builder.SetAllowSystemGeneratedContextualActions(Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プラットフォームが通知のコンテキスト アクションを生成できるかどうかを判断します。
[Android.Runtime.Register("setAllowSystemGeneratedContextualActions", "(Z)Landroid/app/Notification$Builder;", "GetSetAllowSystemGeneratedContextualActions_ZHandler", ApiSince=29)]
public virtual Android.App.Notification.Builder SetAllowSystemGeneratedContextualActions(bool allowed);
[<Android.Runtime.Register("setAllowSystemGeneratedContextualActions", "(Z)Landroid/app/Notification$Builder;", "GetSetAllowSystemGeneratedContextualActions_ZHandler", ApiSince=29)>]
abstract member SetAllowSystemGeneratedContextualActions : bool -> Android.App.Notification.Builder
override this.SetAllowSystemGeneratedContextualActions : bool -> Android.App.Notification.Builder
パラメーター
- allowed
- Boolean
boolean
返品
この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。
- 属性
注釈
プラットフォームが通知のコンテキスト アクションを生成できるかどうかを判断します。 既定では、これは true です。
android.app.Notification.Builder.setAllowSystemGeneratedContextualActionsの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。