onMenuItemClicked

abstract suspend fun onMenuItemClicked(id: MenuItem.Id)

Called upon clicking a MenuItem.

The service should implement click handling for its provided MenuItems and should do nothing where id does not match any of the provided MenuItem's IDs.