foo-webview-sdk
    Preparing search index...

    Interface MenuRunMainMenuCommandSuccess

    Successful response from menu.runMainMenuCommand.

    interface MenuRunMainMenuCommandSuccess {
        completion: "failed" | "unknown" | "completed" | "cancelled" | "partial";
        dynamic?: boolean;
        guid?: string;
        source?: "index" | "v2-tree";
        subGuid?: string;
        success: true;
    }
    Index
    completion: "failed" | "unknown" | "completed" | "cancelled" | "partial"

    Always unknown: foobar2000 does not report whether the command finished or whether a dialog it opened was cancelled.

    dynamic?: boolean

    Whether it was a dynamic child command.

    guid?: string

    GUID of the command that ran, including calls resolved from names or paths. Older hosts can omit it for those forms.

    source?: "index" | "v2-tree"

    How a name or path was resolved: v2-tree by the menu tree, index by the command list. Absent for the GUID form.

    subGuid?: string

    GUID of the dynamic child that ran.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.