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

    Interface BindingInfo

    One command's bindings, from Bindings.list.

    1.0.0

    interface BindingInfo {
        plugin: string;
        command: string;
        title: string;
        path: string[] | null;
        key?: string[] | null;
        category?: string | null;
        scope: "panel" | "global";
        defaults: string[];
        current: string[];
        overridden: boolean;
        shadowed: { input: string; by: BindingRef }[];
        labels: string[];
    }

    Hierarchy (View Summary)

    Index
    plugin: string

    Manifest id, or "host".

    command: string

    Command id within that plugin.

    title: string

    Menu title.

    path: string[] | null

    Menu path as shown; null for a command outside the menu.

    key?: string[] | null

    The menu path's keys: the English text menus merge by, the same in every interface language (["Playback", "Seek", "Back 5 s"]; a built-in menu by its key, "Video", also when declared as @video). null for a command outside the menu. Find a command by where it is in the menu with this, not with path. Always set by list().

    1.5.11

    category?: string | null

    The command's category as shown (CommandOptions.category, translated), null when it declares none. Always set by list(). A list of commands names one Category: Title; without a category, use the menu path (path) as before.

    1.6.4

    scope: "panel" | "global"

    Global, or only while the plugin's panel has focus.

    defaults: string[]

    The command's own bindings.

    current: string[]

    In effect for it: the user's override, else the defaults.

    overridden: boolean

    The user overrode the defaults.

    shadowed: { input: string; by: BindingRef }[]

    Inputs of current another command holds.

    Type Declaration

    • input: string

      The input.

    • by: BindingRef

      The command that holds it.

    labels: string[]

    Menu text of each of current (Ctrl+←, Num5).