java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.app.PlaybackWebService
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.PlaybackRetrofitWebService
All Implemented Interfaces:
WebService

public class PlaybackRetrofitWebService extends PlaybackWebService
Class which serves as a wrapper for the PlaybackRetrofitAPI
Since:
1/13/14
  • Constructor Details

    • PlaybackRetrofitWebService

      public PlaybackRetrofitWebService(PlaybackRetrofitAPI api, FeaturesHelper.ExxtractorApiVersion apiVersion)
      Default constructor
      Parameters:
      api - The retrofit API for the channel info service
      apiVersion - the API version to use for the request
  • Method Details

    • stopChannelPlayback

      public void stopChannelPlayback(String deviceId, PlaybackRequest playback, WebServiceResponseHandler<retrofit.client.Response> handler) throws retrofit.RetrofitError
      Method which requests a session to stop its playback
      Specified by:
      stopChannelPlayback in class PlaybackWebService
      Parameters:
      deviceId - the device id for the current device
      handler - The handler which will be executed upon the request completion
      Throws:
      retrofit.RetrofitError
    • stopChannelPlayback

      public retrofit.client.Response stopChannelPlayback(String deviceId, PlaybackRequest playback) throws retrofit.RetrofitError
      Method requests to a session to stop its playback
      Specified by:
      stopChannelPlayback in class PlaybackWebService
      Parameters:
      deviceId -
      Returns:
      The HTTP response
      Throws:
      retrofit.RetrofitError
    • startChannelPlayback

      public void startChannelPlayback(PlaybackRequest playback, WebServiceResponseHandler<retrofit.client.Response> handler) throws retrofit.RetrofitError
      Method which requests a session to start a playback
      Specified by:
      startChannelPlayback in class PlaybackWebService
      Parameters:
      playback - The playback model with the audio stream definition
      handler - The handler which will be executed upon the request completion
      Throws:
      retrofit.RetrofitError
    • startPrivateChannelPlayback

      public void startPrivateChannelPlayback(PlaybackRequest playback, WebServiceResponseHandler<retrofit.client.Response> handler) throws retrofit.RetrofitError
      Method which requests a session to start a playback
      Specified by:
      startPrivateChannelPlayback in class PlaybackWebService
      Parameters:
      playback - The playback model with the audio stream definition
      handler - The handler which will be executed upon the request completion
      Throws:
      retrofit.RetrofitError
    • stopChannelPlaybackv2

      public void stopChannelPlaybackv2(String deviceId, WebServiceResponseHandler<retrofit.client.Response> handler) throws retrofit.RetrofitError
      Method which requests a session to stop its playback
      Specified by:
      stopChannelPlaybackv2 in class PlaybackWebService
      Parameters:
      deviceId - the device id for the current device
      handler - The handler which will be executed upon the request completion
      Throws:
      retrofit.RetrofitError
    • stopChannelPlaybackv2

      public retrofit.client.Response stopChannelPlaybackv2(String deviceId) throws retrofit.RetrofitError
      Method requests to a session to stop its playback
      Specified by:
      stopChannelPlaybackv2 in class PlaybackWebService
      Parameters:
      deviceId -
      Returns:
      The HTTP response
      Throws:
      retrofit.RetrofitError