Notification.ForegroundServiceDeferred Campo
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.
Si la notificación asociada al inicio de un servicio en primer plano se ha compilado mediante Notification.Builder.setForegroundServiceBehavior(int) con este comportamiento, la presentación de la notificación normalmente se suprimirá durante un breve tiempo para evitar alteraciones visuales al usuario.
[Android.Runtime.Register("FOREGROUND_SERVICE_DEFERRED", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)]
public const Android.App.NotificationForegroundService ForegroundServiceDeferred = 2;
[<Android.Runtime.Register("FOREGROUND_SERVICE_DEFERRED", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceDeferred : Android.App.NotificationForegroundService
Valor de campo
Value = 2Implementaciones
- Atributos
Comentarios
Si la notificación asociada al inicio de un servicio en primer plano se ha compilado mediante Notification.Builder.setForegroundServiceBehavior(int) con este comportamiento, la presentación de la notificación normalmente se suprimirá durante un breve tiempo para evitar alteraciones visuales al usuario. El valor es uno de los siguientes: FOREGROUND_SERVICE_DEFAULT FOREGROUND_SERVICE_IMMEDIATE FOREGROUND_SERVICE_DEFERRED
Referencia de Android para android.app.Notification.FOREGROUND_SERVICE_DEFERRED.
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.