Language

Notification.Builder.SetAllowSystemGeneratedContextualActions(Boolean) メソッド

定義

プラットフォームが通知のコンテキスト アクションを生成できるかどうかを判断します。

[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 リファレンス。

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

適用対象