Notification.Builder.SetAllowSystemGeneratedContextualActions(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.
Determines whether the platform can generate contextual actions for a notification.
[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
Parameters
- allowed
- Boolean
boolean
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Determines whether the platform can generate contextual actions for a notification. By default this is true.
Android reference for android.app.Notification.Builder.setAllowSystemGeneratedContextualActions.
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.