foo-webview-sdk
    Preparing search index...

    Interface MetadataEmbedArtworkSuccess

    Successful response from metadata.embedArtwork.

    interface MetadataEmbedArtworkSuccess {
        path: string;
        results?: Record<string, JsonValue>;
        savedTo?: string;
        size?: number;
        success: true;
        type: string;
    }
    Index
    path: string

    The path as given.

    results?: Record<string, JsonValue>

    With both targets: each target's own envelope ({ success, path, type, size }, plus savedTo for file, or { success: false, error, code }) under embedded and file.

    savedTo?: string

    Full path of the image file written; present for a single file target.

    size?: number

    Picture size in bytes after decoding; present for a single target.

    success: true

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

    type: string

    The requested type, as given.