Lenguaje

Notification.Builder.SetRequestPromotedOngoing(Boolean) Método

Definición

Establezca si esta notificación solicita que sea una notificación en curso promocionada.

[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

Parámetros

requestPromotedOngoing
Boolean

Devoluciones

Atributos

Comentarios

Establezca si esta notificación solicita que sea una notificación en curso promocionada.

Este es el primer requisito de Notification.hasPromotableCharacteristics().

Referencia de Android para android.app.Notification.Builder.setRequestPromotedOngoing.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a