Class AddToQueueRequest

java.lang.Object
de.sonallux.spotify.api.apis.player.AddToQueueRequest

public class AddToQueueRequest extends Object

Add Item to Playback Queue request

Required OAuth scopes

user-modify-playback-state

Response

Command received

  • Constructor Details

    • AddToQueueRequest

      public AddToQueueRequest(ApiClient apiClient, String uri)
      Add Item to Playback Queue request
      Parameters:
      apiClient -

      The API client

      uri -

      The uri of the item to add to the queue. Must be a track or an episode uri.

  • Method Details

    • deviceId

      public AddToQueueRequest deviceId(String deviceId)
      Parameters:
      deviceId -

      The id of the device this command is targeting. If not supplied, the user's currently active device is the target.

      Returns:
      this request
    • build

      public ApiCall<Void> build()
      Build the request into an executable api call
      Returns:
      an executable api call