foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetFb2kUrlSuccess

    Successful response from artwork.getFb2kUrl.

    interface ArtworkGetFb2kUrlSuccess {
        available: boolean;
        dataUrl?: string;
        reason?: "no_track" | "not_found";
        success: true;
        type: string;
    }
    Index
    available: boolean

    Whether a track is playing.

    dataUrl?: string

    The fb2k://artwork/?path=... URL; not a data URL, only the component's WebView2 resource handler resolves it.

    reason?: "no_track" | "not_found"

    Why there is no URL; only no_track occurs here.

    success: true

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

    type: string

    The type the URL carries: front or back for their cover_ spellings.