Langue

NotificationManager.ActionNotificationChannelBlockStateChanged Champ

Définition

Intention qui est diffusée lorsqu’un NotificationChannel est bloqué (lorsque NotificationChannel.getImportance() est IMPORTANCE_NONE) ou débloqué (lorsque NotificationChannel.getImportance() est autre que IMPORTANCE_NONE).

[Android.Runtime.Register("ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED", ApiSince=28)]
public const string ActionNotificationChannelBlockStateChanged;
[<Android.Runtime.Register("ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED", ApiSince=28)>]
val mutable ActionNotificationChannelBlockStateChanged : string

Valeur de champ

Attributs

Remarques

Intention qui est diffusée lorsqu’un NotificationChannel est bloqué (lorsque NotificationChannel.getImportance() est IMPORTANCE_NONE) ou débloqué (lorsque NotificationChannel.getImportance() est autre que IMPORTANCE_NONE). Cette diffusion est envoyée uniquement à l’application propriétaire du canal qui a changé. Entrée : nothing Output : EXTRA_NOTIFICATION_CHANNEL_ID Output : EXTRA_BLOCKED_STATE

Référence Android pour android.app.NotificationManager.ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED.

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 à