@vestra-player/sdk - v1.11.3
    Preparing search index...

    Type Alias HostEvent

    HostEvent:
        | "source.state"
        | "playback.backend"
        | "window.state"
        | "packages.changed"
        | "bindings.changed"
        | "commands.keys"
        | "timeline.changed"
        | "appearance.changed"
        | "resolvers.fileTypes"
        | "video.upscaling.changed"
        | "video.motion.changed"

    The events a plugin can listen to with Player.on, by the name the player gives them.

    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));

    1.7.0