NotificationDisplayServiceFrontendCoordinationRule
class NotificationDisplayServiceFrontendCoordinationRule(notificationPanelData: LiveData<NotificationPanelData>) : FrontendCoordinationRule
Content copied to clipboard
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
fun NotificationDisplayServiceFrontendCoordinationRule(panelRegistry: IviPanelRegistry)
Content copied to clipboard
A convenience constructor that extracts the default NotificationPanelData from the given panelRegistry.
Link copied to clipboard
fun NotificationDisplayServiceFrontendCoordinationRule(notificationPanelData: LiveData<NotificationPanelData>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun activate( lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)
Content copied to clipboard
Actives the rule within the scope of the given lifecycleOwner.