foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetCurrentSuccess

    Successful response from artwork.getCurrent.

    interface ArtworkGetCurrentSuccess {
        available: boolean;
        dataUrl?: string;
        mimeType?: string;
        path?: string;
        reason?: "no_track" | "not_found";
        size?: number;
        source?: "now_playing_manager" | "album_art_manager_v2" | "extractor";
        success: true;
        type: string;
    }
    Index
    available: boolean

    Whether a picture was found.

    dataUrl?: string

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

    mimeType?: string

    MIME type detected from the bytes.

    path?: string

    Path of the playing track; reported when no picture was found for it.

    reason?: "no_track" | "not_found"

    Why no picture was found.

    size?: number

    Picture size in bytes.

    source?: "now_playing_manager" | "album_art_manager_v2" | "extractor"

    Lookup that answered: the now-playing cache, the album art manager, or the extractor.

    success: true

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

    type: string

    The requested type.