NotificationDisplayServiceFrontendCoordinationRule

A rule that keeps the information in NotificationDisplayService up-to-date with notificationPanelData.

Parameters

notificationPanelData

The NotificationPanelData to observe in order to update NotificationDisplayService.

Constructors

constructor(panelRegistry: IviPanelRegistry)

A convenience constructor that extracts the default NotificationPanelData from the given panelRegistry.

constructor(notificationPanelData: LiveData<NotificationPanelData>)

Functions

Link copied to clipboard
open override fun activate(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)

Actives the rule within the scope of the given lifecycleOwner.