Langue

NotificationManager.AreNotificationsEnabled Méthode

Définition

Retourne si les notifications du package appelant sont activées.

[Android.Runtime.Register("areNotificationsEnabled", "()Z", "GetAreNotificationsEnabledHandler", ApiSince=24)]
public virtual bool AreNotificationsEnabled();
[<Android.Runtime.Register("areNotificationsEnabled", "()Z", "GetAreNotificationsEnabledHandler", ApiSince=24)>]
abstract member AreNotificationsEnabled : unit -> bool
override this.AreNotificationsEnabled : unit -> bool

Retours

Attributs

Remarques

Retourne si les notifications du package appelant sont activées.

Java documentation pour android.app.NotificationManager.areNotificationsEnabled().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à