Notification.ForegroundServiceDeferred Champ
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.
Si la notification associée au démarrage d’un service de premier plan a été créée à l’aide de Notification.Builder.setForegroundServiceBehavior(int) avec ce comportement, l’affichage de la notification est généralement supprimé pendant une courte période pour éviter les perturbations visuelles à l’utilisateur.
[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
Valeur de champ
Value = 2Implémente
- Attributs
Remarques
Si la notification associée au démarrage d’un service de premier plan a été créée à l’aide de Notification.Builder.setForegroundServiceBehavior(int) avec ce comportement, l’affichage de la notification est généralement supprimé pendant une courte période pour éviter les perturbations visuelles à l’utilisateur. La valeur est l’une des valeurs suivantes : FOREGROUND_SERVICE_DEFAULT FOREGROUND_SERVICE_IMMEDIATE FOREGROUND_SERVICE_DEFERRED
Référence Android pour android.app.Notification.FOREGROUND_SERVICE_DEFERRED.
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.