NotificationChannel.Importance Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce l'importanza specificata dall'utente, ad esempio
public Android.App.NotificationImportance Importance { [Android.Runtime.Register("getImportance", "()I", "", ApiSince=26)] get; [Android.Runtime.Register("setImportance", "(I)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getImportance", "()I", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setImportance", "(I)V", "", ApiSince=26)>]
member this.Importance : Android.App.NotificationImportance with get, set
Valore della proprietà
Il valore è uno dei seguenti: NotificationManager.IMPORTANCE_UNSPECIFIED NotificationManager.IMPORTANCE_NONE NotificationManager.IMPORTANCE_MIN NotificationManager.IMPORTANCE_LOW NotificationManager.IMPORTANCE_DEFAULT NotificationManager.IMPORTANCE_HIGH
- Attributi
Commenti
Restituisce l'importanza specificata dall'utente, ad esempio NotificationManager.IMPORTANCE_LOW per le notifiche inviate a questo canale. Nota: questo valore potrebbe essere > NotificationManager.IMPORTANCE_NONE, ma le notifiche inviate a questo canale non verranno visualizzate all'utente se l'app o NotificationChannelGroup padre è bloccata. Vedere NotificationChannelGroup.isBlocked() e NotificationManager.areNotificationsEnabled().
Informazioni di riferimento su Android per android.app.NotificationChannel.getImportance.
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.