foo-webview-sdk
    Preparing search index...

    Interface LibraryDirectoryNodeInfo

    One folder of the directory tree index.

    interface LibraryDirectoryNodeInfo {
        absolutePath: string;
        childDirectoryCount: number;
        depth: number;
        displayName: string;
        hasChildren: boolean;
        id: string;
        name: string;
        parentPathId: string;
        pathId: string;
        rawPath: string;
        relativePath: string;
        rootId: string;
        trackCount: number;
    }
    Index
    absolutePath: string

    Local path of the folder.

    childDirectoryCount: number

    Subfolders directly inside.

    depth: number

    Folder names in pathId: 1 directly under the root.

    displayName: string

    Currently the same as name.

    hasChildren: boolean

    Whether childDirectoryCount is above 0.

    id: string

    rootId, then ::, then pathId.

    name: string

    Folder name.

    parentPathId: string

    pathId of the parent folder; "" directly under the root.

    pathId: string

    Path below the root with / between folder names; pass it to library.browseTree to open the folder.

    rawPath: string

    Currently the same as absolutePath.

    relativePath: string

    Currently the same as pathId.

    rootId: string

    The root the folder is under.

    trackCount: number

    Library tracks in the folder and every folder below it.