Condividi tramite


NotificationListenerService.ReasonLockdown Campo

Definizione

Attenzione

This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.

La notifica è stata annullata quando si immette la modalità di blocco, che disattiva Smart Lock, lo sblocco delle impronte digitali e le notifiche nella schermata di blocco.

[Android.Runtime.Register("REASON_LOCKDOWN", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)]
public const Android.Service.Notification.NotificationCancelReason ReasonLockdown = 23;
[<Android.Runtime.Register("REASON_LOCKDOWN", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)>]
val mutable ReasonLockdown : Android.Service.Notification.NotificationCancelReason

Valore del campo

Value = 23
Attributi

Commenti

La notifica è stata annullata quando si immette la modalità di blocco, che disattiva Smart Lock, lo sblocco delle impronte digitali e le notifiche nella schermata di blocco. Tutti i listener garantiscono che le notifiche annullate vengano effettivamente rimosse alla fine per evitare perdite di dati. Quando l'utente chiude la modalità di blocco, le notifiche rimosse (a causa del blocco) verranno ripristinate tramite NotificationListeners#notifyPostedLocked()

Documentazione Java per android.service.notification.NotificationListenerService.REASON_LOCKDOWN.

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