Lingua

Service.StopForegroundDetach Campo

Definizione

Attenzione

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

Selettore per #stopForeground(int): se impostato, la notifica fornita in precedenza a #startForeground verrà scollegata dal ciclo di vita del servizio.

[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

Valore del campo

Value = 2
Attributi

Commenti

Selettore per stopForeground(int): se impostato, la notifica fornita in precedenza a startForeground(int, Notification) verrà scollegata dal ciclo di vita del servizio. La notifica rimarrà visualizzata anche dopo l'arresto e l'eliminazione del servizio.

Informazioni di riferimento su Android per android.app.Service.STOP_FOREGROUND_DETACH.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a