Notification.ForegroundServiceDefault Campo

Definizione

Attenzione

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

Se la notifica associata all'avvio di un servizio in primo piano è stata compilata usando setForegroundServiceBehavior() con questo comportamento, la visualizzazione della notifica verrà in genere eliminata per un breve periodo di tempo per evitare disturbi visivi all'utente.

[Android.Runtime.Register("FOREGROUND_SERVICE_DEFAULT", 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 ForegroundServiceDefault = 0;
[<Android.Runtime.Register("FOREGROUND_SERVICE_DEFAULT", 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 ForegroundServiceDefault : Android.App.NotificationForegroundService

Valore del campo

Value = 0

Implementazioni

Attributi

Commenti

Se la notifica associata all'avvio di un servizio in primo piano è stata compilata usando setForegroundServiceBehavior() con questo comportamento, la visualizzazione della notifica verrà in genere eliminata per un breve periodo di tempo per evitare disturbi visivi all'utente.

per android.app.Notification.FOREGROUND_SERVICE_DEFAULT.

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