NotificationEvent
Push-side projection of a posted notification. Emitted on NotificationListenerBus when McpNotificationListenerServiceBase receives onNotificationPosted. Pure-data — no Notification reference, no PendingIntents, no large image extras leak across the bus.
priority is intentionally split so the user-channel signal stays distinguishable from the app's self-reported urgency.
Constructors
Properties
Action button labels in order — labels only, no PendingIntents.
Effective importance (NotificationManager.IMPORTANCE_*) from the listener's Ranking.importance — on O+ this is the posting channel's user-settable "how much do I care" signal. -1 when no ranking is available for the notification.
True if any action carries a RemoteInput with allowFreeFormInput.
Notification.priority — only meaningful pre-O; usually 0 post-O.
Marquee / one-shot text.