foo-webview-sdk
    Preparing search index...

    Interface LibraryGetChangesSuccess

    Successful response from library.getChanges.

    interface LibraryGetChangesSuccess {
        changed?: string[];
        epoch: string;
        handles?: string[];
        removed?: string[];
        resync: boolean;
        revision: number;
        success: true;
    }
    Index
    changed?: string[]

    Tracks added or modified after since that are still in the library; fetch via library.getTracks. Absent when resync is true.

    epoch: string

    Changes when the host starts its record over, for example after an abnormal shutdown; copies from another epoch must be rebuilt.

    handles?: string[]

    All tracks currently in the library. Absent when resync is false.

    removed?: string[]

    Tracks removed from the library after since. Absent when resync is true.

    resync: boolean

    Whether the page must rebuild its copy from handles.

    revision: number

    The revision this response brings the copy to; pass as since next time.

    success: true

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