invoke

operator fun OnAction.invoke(block: OnAction)

Sets the action to be performed when the tray icon is clicked.

Parameters

block

The lambda to be executed on tray icon click.


operator fun Menu.invoke(block: Menu)

Sets the composable function to create the tray menu.

Parameters

block

The composable function to create the tray menu.