foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetForTrackSuccess

    Successful response from artwork.getForTrack.

    interface ArtworkGetForTrackSuccess {
        available: boolean;
        dataUrl?: string;
        height?: number;
        mimeType?: string;
        path: string;
        size?: number;
        success: true;
        type: string;
        width?: number;
    }
    Index
    available: boolean

    Whether a picture was found.

    dataUrl?: string

    data:<mime>;base64,... URL of the picture.

    height?: number

    Height in pixels from the PNG header; 0 for other formats.

    mimeType?: string

    MIME type detected from the bytes.

    path: string

    The path as given.

    size?: number

    Picture size in bytes.

    success: true

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

    type: string

    The requested type.

    width?: number

    Width in pixels from the PNG header; 0 for other formats.