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.
NotificationChannel.importance for the channel that posted this. This is the user-settable "how much do I care" signal that dominates on O+. -1 when the channel can't be resolved (older device, unknown channel).
True if any action carries a RemoteInput with allowFreeFormInput.
Notification.priority — only meaningful pre-O; usually 0 post-O.
Marquee / one-shot text.