Notification.FlagPromotedOngoing Campo

Definición

Precaución

This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.

Bit a bit-ORed en el campo de marcas que debe establecer el sistema si esta notificación es una notificación en curso promocionada, tanto porque tienePromotableCharacteristics() y el usuario no ha deshabilitado la característica para esta aplicación.

[Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)]
public const Android.App.NotificationFlags FlagPromotedOngoing = 262144;
[<Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)>]
val mutable FlagPromotedOngoing : Android.App.NotificationFlags

Valor de campo

Value = 262144

Implementaciones

Atributos

Comentarios

Bit a bit-ORed en el campo de marcas que debe establecer el sistema si esta notificación es una notificación en curso promocionada, tanto porque tienePromotableCharacteristics() y el usuario no ha deshabilitado la característica para esta aplicación. Las aplicaciones no pueden establecer esta marca directamente, pero la aplicación de publicación y NotificationListenerService pueden leerla.

Referencia de Android para android.app.Notification.FLAG_PROMOTED_ONGOING.

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