foo-webview-sdk
    Preparing search index...

    Interface AdvancedConfigItem

    One entry of foobar2000's Advanced preferences tree. Every entry carries type, and which of the other optional keys it carries follows from it: a branch has children, a checkbox or radio entry a boolean value, an integer or string entry a text value and the three is* flags.

    interface AdvancedConfigItem {
        children?: AdvancedConfigItem[];
        defaultValue?: JsonValue;
        guid: string;
        isFilePath?: boolean;
        isFolderPath?: boolean;
        isSigned?: boolean;
        name: string;
        sortPriority: number;
        type?: "string" | "unknown" | "integer" | "branch" | "checkbox" | "radio";
        value?: JsonValue;
    }
    Index
    children?: AdvancedConfigItem[]

    The entries inside a branch; present on branch only. The tree stops eleven levels below the requested parent: a branch on that level is listed with an empty children.

    defaultValue?: JsonValue

    Default value in the same form as value; present only when the entry reports one.

    guid: string

    Entry GUID rendered as {...}, as config.getAdvancedConfigValue, config.setAdvancedConfigValue and config.resetAdvancedConfig take it.

    isFilePath?: boolean

    Whether the entry is flagged as holding a file path; present on integer and string.

    isFolderPath?: boolean

    Whether the entry is flagged as holding a folder path; present on integer and string.

    isSigned?: boolean

    Whether the entry is flagged as a signed integer; present on integer and string.

    name: string

    Display name.

    sortPriority: number

    Sort priority the entry reports.

    type?: "string" | "unknown" | "integer" | "branch" | "checkbox" | "radio"

    Kind of an Advanced preferences entry: branch holds other entries, checkbox and radio hold a boolean, integer and string hold text, unknown is any other kind.

    value?: JsonValue

    Current value: a boolean on checkbox and radio; the stored text on integer and string, so an integer entry reads as its decimal text here while config.getAdvancedConfigValue reports a number; absent on branch and unknown.