共用方式為


Notification.AllowSystemGeneratedContextualActions Property

Definition

Returns whether the platform is allowed (by the app developer) to generate contextual actions for this notification.

public virtual bool AllowSystemGeneratedContextualActions { [Android.Runtime.Register("getAllowSystemGeneratedContextualActions", "()Z", "GetGetAllowSystemGeneratedContextualActionsHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getAllowSystemGeneratedContextualActions", "()Z", "GetGetAllowSystemGeneratedContextualActionsHandler", ApiSince=29)>]
member this.AllowSystemGeneratedContextualActions : bool

Property Value

Attributes

Remarks

Returns whether the platform is allowed (by the app developer) to generate contextual actions for this notification.

Java documentation for android.app.Notification.getAllowSystemGeneratedContextualActions().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to