NotificationDisplayServiceFrontendCoordinationRule
class NotificationDisplayServiceFrontendCoordinationRule(notificationPanelData: LiveData<NotificationPanelData>) : FrontendCoordinationRule
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
Link copied to clipboard
A convenience constructor that extracts the default NotificationPanelData from the given panelRegistry.
Link copied to clipboard
fun NotificationDisplayServiceFrontendCoordinationRule(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.