foo-webview-sdk
    Preparing search index...

    Interface MetadataWriteBatchParams

    Parameters for metadata.writeBatch. Queue one metadata.write per entry and report how many went through. A dispatched write reports its own outcome later as metadata:writeComplete, so a file that does not exist still counts here. When any entry fails, the call fails with OPERATION_FAILED and the failure carries the same successCount, failCount and errors; the other entries were queued all the same.

    interface MetadataWriteBatchParams {
        items: MetadataWriteBatchItem[];
    }
    Index
    items: MetadataWriteBatchItem[]

    Writes to queue, one per entry, in this order. An entry that is not an object, holds a member other than path, tags and cueIndex, or has no string path fails the call with INVALID_PARAMS. Every path is checked before anything starts; one refused path, an empty string included, fails the whole call with PERMISSION_DENIED. An empty list is an empty success.