foo-webview-sdk
    Preparing search index...

    Interface LibraryGetCacheStatsSuccess

    Successful response from library.getCacheStats.

    interface LibraryGetCacheStatsSuccess {
        albumsCacheEntries: number;
        artistsCached: boolean;
        cacheHits: number;
        cacheMisses: number;
        coverCacheBytes: number;
        coverCacheMB: number;
        coversCached: number;
        genresCached: boolean;
        lastModified: number;
        rootsCached: number;
        statsCached: boolean;
        success: true;
        tracksCached: boolean;
        treeIndexedTracks: number;
        treeIndexValid: boolean;
        treeLastBuilt: number;
        treeSkippedTracks: number;
        valid: boolean;
    }
    Index
    albumsCacheEntries: number

    Kept library.getAlbums lists, one per query, sort and includeCover.

    artistsCached: boolean

    Whether the library.getArtists scan is kept.

    cacheHits: number

    Lookups answered from a kept result since the host started.

    cacheMisses: number

    Lookups that found nothing kept since the host started.

    coverCacheBytes: number

    Always 0; covers are not kept.

    coverCacheMB: number

    Always 0; covers are not kept.

    coversCached: number

    Always 0; covers are not kept.

    genresCached: boolean

    Always false; genres are not kept.

    lastModified: number

    When the cache was last dropped, in milliseconds since the Unix epoch.

    rootsCached: number

    Roots in the tree index; 0 when it is not built.

    statsCached: boolean

    Whether the library.getStatus answer is kept.

    success: true

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

    tracksCached: boolean

    Whether a full library.getAll result is kept.

    treeIndexedTracks: number

    Tracks placed in the tree index at its last build.

    treeIndexValid: boolean

    Whether the directory tree index is built.

    treeLastBuilt: number

    When the tree index was last built, in milliseconds since the Unix epoch; 0 before the first build.

    treeSkippedTracks: number

    Tracks left out of the tree index at its last build.

    valid: boolean

    Whether any library result was kept since the cache was last dropped.