foo-webview-sdk
    Preparing search index...

    Interface LibraryGetChangesParams

    Parameters for library.getChanges. The library revision and tracks changed after revision since, for local incremental sync. The revision persists across restarts. When epoch matches and since is within the recorded range, returns changed and removed. Otherwise sets resync: true with full handles for the page to rebuild its copy. Changes reported after startup loading advance the revision, including play statistics from components like foo_playcount. Fails with OPERATION_PENDING (details.reason: 'libraryLoading') while the library is still loading. When disabled, returns resync: true with empty handles.

    interface LibraryGetChangesParams {
        epoch?: string;
        since?: number;
    }
    Index
    epoch?: string

    The epoch the page's copy was built under; omitted, the answer is a resync.

    since?: number

    The revision the page's copy is at; omitted, the answer is a resync.