mapToNotificationPanelData

fun LiveData<out Collection<AnyPanel>>.mapToNotificationPanelData(notificationSuppressionPolicy: LiveData<NotificationSuppressionPolicy>, showSuppressedNotifications: LiveData<Boolean>): LiveData<NotificationPanelData>

Maps a collection containing all AnyPanels of all Frontends to a NotificationPanelData that indicates which NotificationPanels to show and other relevant information.

The NotificationPanels are selected and ordered based on notificationSuppressionPolicy and showSuppressedNotifications combined with each NotificationPanel's metadata such as priority.

If no NotificationPanel is present in the collection, an empty NotificationPanelData instance will be returned.