foo-webview-sdk
    Preparing search index...

    Variable REPLAYGAIN_SOURCE_MODEConst

    REPLAYGAIN_SOURCE_MODE: { album: 2; byPlaybackOrder: 3; none: 0; track: 1 } = ...

    Numeric identifiers for ReplaygainSourceModeName, mirroring the host's source-mode enum. Compare the mode that config.getReplaygainMode reports against entries in this dictionary instead of remembering the literals:

    const r = await config.getReplaygainMode();
    if (r.mode === REPLAYGAIN_SOURCE_MODE.track) { ... }
    

    auto is intentionally omitted: it is an input-only alias of byPlaybackOrder.

    Type Declaration

    • Readonlyalbum: 2
    • ReadonlybyPlaybackOrder: 3
    • Readonlynone: 0
    • Readonlytrack: 1