@dvxch/yandex-music
    Preparing search index...

    Interface DeviceInfoOverride

    Device identity override for the full-state request.

    Presenting as a known app (for example the Android client) makes the server expose more state fields than it does for an anonymous web client.

    interface DeviceInfoOverride {
        appName: string;
        appVersion?: string;
        headerType: string;
        title?: string;
        type: string;
    }
    Index

    Properties

    appName: string

    App name.

    appVersion?: string

    App version.

    headerType: string

    Numeric code for the Ynison-Device-Info header (1 = web, 2 = android).

    title?: string

    Device title.

    type: string

    Device type for the request body (device.info.type): WEB | ANDROID | …