Class PrivateChannelInfoRetrofitWebService
java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.PrivateChannelInfoRetrofitWebService
- All Implemented Interfaces:
PrivateChannelInfoWebService
,WebService
public class PrivateChannelInfoRetrofitWebService
extends Object
implements PrivateChannelInfoWebService
Class which serves as a wrapper for the PrivateChannelsInfoRetrofitAPI
- Since:
- 9/24/19
-
Constructor Summary
ConstructorsConstructorDescriptionPrivateChannelInfoRetrofitWebService
(PrivateChannelInfoRetrofitAPI api, FeaturesHelper.ExxtractorApiVersion mApiVersion) Default constructor -
Method Summary
Modifier and TypeMethodDescriptiongetChannelMap
(boolean isAdminModeEnabled) Method which performs the request that retrieves the private channel info for audio audioChannels through the APIvoid
setChannelsPrivacy
(List<AudioChannel> channels, WebServiceResponseHandler handler) Abstract method which sets the channels privacy.
-
Constructor Details
-
PrivateChannelInfoRetrofitWebService
public PrivateChannelInfoRetrofitWebService(PrivateChannelInfoRetrofitAPI api, FeaturesHelper.ExxtractorApiVersion mApiVersion) Default constructor- Parameters:
api
- The retrofit API for the my box information servicemApiVersion
-
-
-
Method Details
-
setChannelsPrivacy
public void setChannelsPrivacy(List<AudioChannel> channels, WebServiceResponseHandler handler) throws RuntimeException Description copied from interface:PrivateChannelInfoWebService
Abstract method which sets the channels privacy.- Specified by:
setChannelsPrivacy
in interfacePrivateChannelInfoWebService
- Throws:
retrofit.RetrofitError
RuntimeException
-
getChannelMap
public Map<String,AudioChannel> getChannelMap(boolean isAdminModeEnabled) throws retrofit.RetrofitError Method which performs the request that retrieves the private channel info for audio audioChannels through the API- Specified by:
getChannelMap
in interfacePrivateChannelInfoWebService
- Returns:
- The channel info
- Throws:
retrofit.RetrofitError
-