NotificationPanelData

@IviExperimental(reasons = [])
data class NotificationPanelData(val numberOfNotificationPanels: Int, val numberOfSuppressedNotificationPanels: Int, val activeNotificationPanels: DismissablePanelList<NotificationPanel>)

Information about the NotificationPanels to present to the user.

Parameters

numberOfNotificationPanels

The total number of NotificationPanels available, regardless of which are suppressed.

numberOfSuppressedNotificationPanels

The number of NotificationPanels that were suppressed and thus not present in activeNotificationPanels. Note that not all NotificationPanels absent from activeNotificationPanels are counted as suppressed. Suppressed NotificationPanels may become simply hidden instead after being presented to the user manually, at which point they're not present in activeNotificationPanels and not counted in numberOfSuppressedNotificationPanels.

activeNotificationPanels

The NotificationPanels that should be presented to the user.

Constructors

Link copied to clipboard
fun NotificationPanelData(numberOfNotificationPanels: Int, numberOfSuppressedNotificationPanels: Int, activeNotificationPanels: DismissablePanelList<NotificationPanel>)

Types

Link copied to clipboard
object Companion

Properties