Service.StopForegroundLegacy Campo

Definizione

Questa costante è stata deprecata nel livello API 33.

[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

Questa costante è stata deprecata nel livello API 33. Usare invece STOP_FOREGROUND_DETACH. Il comportamento legacy era incoerente, causando bug intorno a risultati imprevedibili.

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

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

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