Lenguaje

NotificationManager.AreNotificationsPaused Método

Definición

Devuelve si las notificaciones de este paquete están ocultas temporalmente.

[Android.Runtime.Register("areNotificationsPaused", "()Z", "GetAreNotificationsPausedHandler", ApiSince=29)]
public virtual bool AreNotificationsPaused();
[<Android.Runtime.Register("areNotificationsPaused", "()Z", "GetAreNotificationsPausedHandler", ApiSince=29)>]
abstract member AreNotificationsPaused : unit -> bool
override this.AreNotificationsPaused : unit -> bool

Devoluciones

Atributos

Comentarios

Devuelve si las notificaciones de este paquete están ocultas temporalmente. Esto podría hacerse porque el paquete se marcó como distraído al usuario a través de PackageManager.setDistractingPackageRestrictions(String[], int) o porque el paquete es PackageManager.setPackagesSuspended(String[], boolean, PersistableBundle, PersistableBundle, SuspendDialogInfo) suspendido.

Referencia de Android para android.app.NotificationManager.areNotificationsPaused.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a