foo-webview-sdk
    Preparing search index...

    Interface DiscoveryExecuteContextMenuCommandParams

    Parameters for discovery.executeContextMenuCommand. Run a context-menu command by GUID against the tracks target names; by default the playing track, or the active playlist selection when nothing is playing. A command the host would never draw (FORCE_OFF) is refused with NOT_SUPPORTED unless force is set; no target at all is NO_ACTIVE_ITEM.

    interface DiscoveryExecuteContextMenuCommandParams {
        force?: boolean;
        guid: string;
        target?: "auto" | "nowPlaying" | "selection" | "playlistSelection";
    }
    Index
    force?: boolean

    Dispatch even a command the host would never draw.

    false
    
    guid: string

    Command GUID in {...} form, as discovery.getContextMenuCommands reports it.

    target?: "auto" | "nowPlaying" | "selection" | "playlistSelection"

    Which tracks the command runs against.

    "auto"