The same names the SDK subscribes to for its own copies of the player's
state (plugin.player.state, plugin.window.state,
plugin.timeline.marks…). EventPayloads says what each one
carries. A name outside this list is refused with invalid.
A plugin logs each change of its own key labels. The name completes in the editor, and the listener's parameter takes the type of that event's data.
const event: HostEvent = "commands.keys";
plugin.player.on(event, (data) => console.log("keys changed", data));
The events a plugin can listen to with Player.on, by the name the player gives them.