onFrontendFocused

abstract suspend fun onFrontendFocused(id: MenuItem.Id?)

Should be called when the frontend focus in the system UI has changed. id is the menu item that users use to access the focused frontend. id can be null to indicate that the focused frontend does not have a menu item.

The MenuService is expected to respond to this call by updating selectedMenuItemId to the given id value.