foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetLyricsParams

    Parameters for artwork.getLyrics. Read the lyrics tag of a track. The host's cached track info is used when complete; a local file it has not read is read from disk, and a remote or unrecognised path keeps whatever the cache has. The tags LYRICS, UNSYNCED LYRICS, UNSYNCEDLYRICS, SYNCEDLYRICS and SYNCED LYRICS are probed in that order and the first non-empty one wins. Without path the playing track is used; with nothing playing the call fails with NO_ACTIVE_ITEM. A path no track can be made for fails with NOT_FOUND, a local file that cannot be read with OPERATION_FAILED. Invalid UTF-8 in lyrics is replaced with U+FFFD without changing tags.

    interface ArtworkGetLyricsParams {
        path?: string;
    }
    Index
    path?: string

    Track path; omitted for the playing track.