RegisterMenuItemsFrontendCoordinationRule
class RegisterMenuItemsFrontendCoordinationRule(frontendMetadata: Collection<FrontendMetadata>) : FrontendCoordinationRule
Content copied to clipboard
A rule that informs the SystemUiMenuItemsService of the MenuItems in the given frontendMetadata.
Constructors
Link copied to clipboard
fun RegisterMenuItemsFrontendCoordinationRule(frontendRegistry: FrontendRegistry)
Content copied to clipboard
A convenience constructor that extracts the FrontendMetadata from the given FrontendRegistry.
Link copied to clipboard
fun RegisterMenuItemsFrontendCoordinationRule(frontendMetadata: Collection<FrontendMetadata>)
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.