Service.StopForegroundDetach 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.StopForegroundFlags enum directly instead of this field.
Sélecteur pour #stopForeground(int): s’il est défini, la notification précédemment fournie #startForeground sera détachée du cycle de vie du service.
[Android.Runtime.Register("STOP_FOREGROUND_DETACH", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)]
public const Android.App.StopForegroundFlags StopForegroundDetach = 2;
[<Android.Runtime.Register("STOP_FOREGROUND_DETACH", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)>]
val mutable StopForegroundDetach : Android.App.StopForegroundFlags
Valeur de champ
Value = 2- Attributs
Remarques
Sélecteur pour stopForeground(int) : s’il est défini, la notification précédemment fournie pour startForeground(int, Notification) est détachée du cycle de vie du service. La notification reste affichée même après l’arrêt et la destruction du service.
Référence Android pour android.app.Service.STOP_FOREGROUND_DETACH.
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.