foo-webview-sdk
    Preparing search index...

    Interface LibraryBrowseTreeParams

    Parameters for library.browseTree. One folder under a library root: its subfolders and, with includeFiles, its tracks. Reads the directory tree index library.getRoots uses, building it first when needed. An unknown rootId or pathId fails with NOT_FOUND; a failed index build fails with OPERATION_FAILED.

    interface LibraryBrowseTreeParams {
        includeFiles?: boolean;
        pathId?: string;
        recursiveFiles?: boolean;
        rootId: string;
    }
    Index
    includeFiles?: boolean

    Add the folder's tracks as files.

    false
    
    pathId?: string

    pathId of the folder to open, as a directories entry reports it; empty opens the root. Folder names are separated by /, so a path written with `` is not found.

    ""
    
    recursiveFiles?: boolean

    With includeFiles, add the tracks of every folder below as well.

    false
    
    rootId: string

    id of a root from library.getRoots, compared case-insensitively.