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

    Interface BuiltinCommand

    A command the player or one of its built-in plugins registers: an entry of BUILTIN_COMMANDS.

    1.5.14

    interface BuiltinCommand {
        owner: string;
        id: string;
        path: readonly string[];
        title: string;
        bindings: readonly string[];
        focus: "panel" | null;
    }
    Index
    owner: string

    "host" for the player's own commands, else the built-in plugin's id.

    id: string

    The command's id within its owner ("play-pause", "capture.save").

    path: readonly string[]

    The menu path by key (the English texts paths merge by), the leaf included; a built-in menu by its key ("Video", not "@video"). Empty for a command that is not in the main menu (a panel shortcut).

    title: string

    The English title (the last segment of path when there is one).

    bindings: readonly string[]

    The default bindings, canonical, in the order the command declares them.

    focus: "panel" | null

    "panel": the bindings apply only while the owner's panel has focus.