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

    Function buildUpdateFullStateRequest

    • Build the initial request that registers the device as a remote controller with an empty queue. Sent immediately after the state socket opens.

      Parameters

      • deviceId: string

        The device id used throughout the session.

      • deviceInfo: DeviceInfoOverride | null = null

        Optional identity override (defaults to a web SDK identity).

      Returns UpdateFullStateRequest

      The request payload.