onPress

abstract fun onPress(@NotNull action: @NotNull Hotkey.Action)

Invoked when the hotkey is pressed.

Parameters

action

The action associated with the press.