共用方式為


Notification.Action.IsContextual Property

Definition

Returns whether this is a contextual Action, i.

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

Property Value

Attributes

Remarks

Returns whether this is a contextual Action, i.e. whether the action is dependent on the notification message body. An example of a contextual action could be an action opening a map application with an address shown in the notification.

Java documentation for android.app.Notification.Action.isContextual().

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