Langue

Notification.Builder.SetRequestPromotedOngoing(Boolean) Méthode

Définition

Définissez si cette notification demande d’être une notification en cours promue.

[Android.Runtime.Register("setRequestPromotedOngoing", "(Z)Landroid/app/Notification$Builder;", "GetSetRequestPromotedOngoing_ZHandler", ApiSince=36)]
public virtual Android.App.Notification.Builder SetRequestPromotedOngoing(bool requestPromotedOngoing);
[<Android.Runtime.Register("setRequestPromotedOngoing", "(Z)Landroid/app/Notification$Builder;", "GetSetRequestPromotedOngoing_ZHandler", ApiSince=36)>]
abstract member SetRequestPromotedOngoing : bool -> Android.App.Notification.Builder
override this.SetRequestPromotedOngoing : bool -> Android.App.Notification.Builder

Paramètres

requestPromotedOngoing
Boolean

Retours

Attributs

Remarques

Définissez si cette notification demande d’être une notification en cours promue.

Il s’agit de la première exigence de Notification.hasPromotableCharacteristics().

Référence Android pour android.app.Notification.Builder.setRequestPromotedOngoing.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à