Interface ChannelInfoWebService
- All Superinterfaces:
WebService
- All Known Implementing Classes:
ChannelInfoRetrofitWebService
Abstract class which defines the structure of a channel info service
- Since:
- 10/2/13
-
Method Summary
Modifier and TypeMethodDescriptionAbstract method that performs the request which retrieves the channel info for audio audioChannelsgetExtraChannelInfo
(int deviceType) Abstract method that performs the request which retrieves the channel info for extra audioChannelsvoid
getLocalChannels
(String userToken, WebServiceResponseHandler<List<AudioChannel>> callback) void
getOffers
(int deviceType, WebServiceResponseHandler<List<CustomButton>> callback) Abstract method that performs the request which retrieves venue offersvoid
setLocalChannels
(String userToken, List<AudioChannel> channelList, WebServiceResponseHandler<retrofit.client.Response> callback)
-
Method Details
-
getChannelMap
Abstract method that performs the request which retrieves the channel info for audio audioChannels- Returns:
- The channel info
- Throws:
retrofit.RetrofitError
RuntimeException
-
getExtraChannelInfo
Abstract method that performs the request which retrieves the channel info for extra audioChannels- Returns:
- The channel info
- Throws:
retrofit.RetrofitError
RuntimeException
-
getOffers
void getOffers(int deviceType, WebServiceResponseHandler<List<CustomButton>> callback) throws RuntimeException Abstract method that performs the request which retrieves venue offers- Parameters:
deviceType
- to get the right image sizecallback
- to operate over the resulting custom buttons- Throws:
retrofit.RetrofitError
RuntimeException
-
setLocalChannels
void setLocalChannels(String userToken, List<AudioChannel> channelList, WebServiceResponseHandler<retrofit.client.Response> callback) -
getLocalChannels
-