RegisterMenuItemsFrontendCoordinationRule

A rule that informs the SystemUiMenuItemsService of the MenuItems in the given frontendMetadata.

Constructors

fun RegisterMenuItemsFrontendCoordinationRule(frontendRegistry: FrontendRegistry)

A convenience constructor that extracts the FrontendMetadata from the given FrontendRegistry.

fun RegisterMenuItemsFrontendCoordinationRule(frontendMetadata: Collection<FrontendMetadata>)

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.