Język

Notification.Builder.SetAgentInteractionFlags Method

Definition

Replaces the notification's stored agent-interaction flags.

[Android.Runtime.Register("setAgentInteractionFlags", "(I)Landroid/app/Notification$Builder;", "GetSetAgentInteractionFlags_IHandler", ApiSince=37)]
public virtual Android.App.Notification.Builder SetAgentInteractionFlags(Android.App.NotificationAgentTaskInteractionFlags flags);
[<Android.Runtime.Register("setAgentInteractionFlags", "(I)Landroid/app/Notification$Builder;", "GetSetAgentInteractionFlags_IHandler", ApiSince=37)>]
abstract member SetAgentInteractionFlags : Android.App.NotificationAgentTaskInteractionFlags -> Android.App.Notification.Builder
override this.SetAgentInteractionFlags : Android.App.NotificationAgentTaskInteractionFlags -> Android.App.Notification.Builder

Parameters

flags
NotificationAgentTaskInteractionFlags

The agent-interaction flag set to store on the notification.

Returns

This builder after the flags have been stored.

Attributes

Remarks

The supplied flags replace the previous set; they are not combined with it.

Applies to