Condividi tramite


NotificationListenerService.CurrentListenerHints Proprietà

Definizione

Ottiene il set di hint che rappresentano lo stato corrente.

public Android.Service.Notification.NotificationListenerServiceHint CurrentListenerHints { [Android.Runtime.Register("getCurrentListenerHints", "()I", "")] get; }
[<get: Android.Runtime.Register("getCurrentListenerHints", "()I", "")>]
member this.CurrentListenerHints : Android.Service.Notification.NotificationListenerServiceHint

Valore della proprietà

Zero o più costanti HINT_.

Attributi

Commenti

Ottiene il set di hint che rappresentano lo stato corrente.

Lo stato corrente può essere diverso dallo stato richiesto se l'hint rappresenta lo stato condiviso tra tutti i listener o una funzionalità che l'host di notifica non supporta o rifiuta di concedere.

Il servizio deve attendere l'evento #onListenerConnected() prima di eseguire questa operazione.

Documentazione Java per android.service.notification.NotificationListenerService.getCurrentListenerHints().

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