foo-webview-sdk
    Preparing search index...

    Interface LibraryBrowseTreeSuccess

    Successful response from library.browseTree.

    interface LibraryBrowseTreeSuccess {
        absolutePath: string;
        directories: LibraryDirectoryNodeInfo[];
        files: LibraryTrack[];
        fromCache: boolean;
        pathId: string;
        root: LibraryRootInfo;
        success: true;
    }

    Hierarchy (View Summary)

    Index
    absolutePath: string

    Local path of the folder.

    Subfolders directly inside, ordered by displayName and then absolutePath, ignoring case.

    files: LibraryTrack[]

    The folder's tracks in library order, followed with recursiveFiles by those of the folders below in no fixed order; empty without includeFiles. index is the position in the library when the tree index was built.

    fromCache: boolean

    true when the tree index already existed before this call.

    pathId: string

    The pathId opened.

    The root.

    success: true

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