Condividi tramite


Service.StopForegroundLegacy Campo

Definizione

Selettore per #stopForeground(int): equivalente al passaggio false all'API #stopForeground(boolean)legacy.

[Android.Runtime.Register("STOP_FOREGROUND_LEGACY", ApiSince=33)]
public const Android.App.StopForegroundFlags StopForegroundLegacy = 0;
[<Android.Runtime.Register("STOP_FOREGROUND_LEGACY", ApiSince=33)>]
val mutable StopForegroundLegacy : Android.App.StopForegroundFlags

Valore del campo

Value = 0
Attributi

Commenti

Selettore per #stopForeground(int): equivalente al passaggio false all'API #stopForeground(boolean)legacy.

Metodo deprecato. Usare invece #STOP_FOREGROUND_DETACH. Il comportamento legacy era incoerente, causando bug intorno a risultati imprevedibili.

Documentazione Java per android.app.Service.STOP_FOREGROUND_LEGACY.

Le parti di questa pagina sono modifiche in base al lavoro creato e condiviso dal Android Open Source e usato in base ai termini descritti nella .

Si applica a