public interface ChannelInfoRetrofitAPI
Interface for the channel info retrofit based service
Since:
10/2/13
  • Method Details

    • getExtraChannelInfo

      @GET("/exxtractor/api/v2/featuredContents") List<CustomButton> getExtraChannelInfo(@Query("device") int device) throws retrofit.RetrofitError
      Retrofit method which requests which retrieves the channel info for extra audioChannels
      Returns:
      The channel info
      Throws:
      retrofit.RetrofitError
    • getOffers

      @GET("/exxtractor/api/v2/offers") void getOffers(@Query("device") int device, APIRetrofitCallback<List<CustomButton>> callback) throws retrofit.RetrofitError
      Retrofit method which requests which retrieves the channel info for extra audioChannels
      Throws:
      retrofit.RetrofitError
    • getChannelList

      @GET("/exxtractor/api/v2/networkChannels") List<AudioChannel> getChannelList() throws retrofit.RetrofitError
      Retrofit method which requests which retrieves the channel info for audio audioChannels
      Returns:
      The channel info
      Throws:
      retrofit.RetrofitError
    • getExtraChannelInfo

      @GET("/api/myapp/extras") CustomButtonChannelInfo getExtraChannelInfo(@Query("session") String session) throws retrofit.RetrofitError
      Throws:
      retrofit.RetrofitError
    • getChannelInfo

      @GET("/api/myapp/asClientChannels") AudioChannelInfo getChannelInfo(@Query("session") String session) throws retrofit.RetrofitError
      Retrofit method which requests which retrieves the channel info for audio audioChannels
      Parameters:
      session - The current session for MyBox
      Returns:
      The channel info
      Throws:
      retrofit.RetrofitError
    • setLocalChannels

      @PUT("/exxtractor/api/v2/localChannels") void setLocalChannels(@Query("token") String token, @Body List<AudioChannel> audioChannelList, retrofit.Callback<retrofit.client.Response> handler)
    • getLocalChannels

      @GET("/exxtractor/api/v2/localChannels") void getLocalChannels(@Query("token") String token, retrofit.Callback<List<AudioChannel>> handler)