Notification.Action.Builder.SetContextual(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether this Action is a contextual action, i.e.
[Android.Runtime.Register("setContextual", "(Z)Landroid/app/Notification$Action$Builder;", "", ApiSince=29)]
public Android.App.Notification.Action.Builder SetContextual(bool isContextual);
[<Android.Runtime.Register("setContextual", "(Z)Landroid/app/Notification$Action$Builder;", "", ApiSince=29)>]
member this.SetContextual : bool -> Android.App.Notification.Action.Builder
Parameters
- isContextual
- Boolean
boolean
Returns
This Android.App.Notification.Action.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets whether this Action 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.
Android reference for android.app.Notification.Action.Builder.setContextual.
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.