Class ChannelManager
java.lang.Object
com.exxothermic.audioeverywheresdk.ExxChannelManager
com.exxothermic.audioeverywheresdk.ChannelManager
Class that will handle the current channel list for the application, managing the polling service
and how them are updated on the SDK implementators
- Since:
- 11/4/14
-
Field Summary
Fields inherited from class com.exxothermic.audioeverywheresdk.ExxChannelManager
isAdminModeEnabled, mConnectedServers, mConnection, mContext, mCurrentAudioChannel, mCurrentAudioChannelMap, mCurrentExxtractorIp, mCurrentNotificationBuilder, mCurrentNotificationString, mCurrentService, mCustomButtonList, mDeviceInformation, mInDemoMode, mIsBusy, mIsPlaying, mMessagingHelper, mNeighborsPreparedForStreaming, mPartnerId, mPlaybackServiceMessageHandler, mPollingService, mProfile, mRequestedChannels, mServiceFactory, mSha1Encryption, mStartDate, mTotalPlaybackTime, mUiCommuncationHandler, mUseEthernetforConnection, mUsingHttps, playWhenCallingFinish
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current list of channelsvoid
setInDemoMode
(boolean inDemoMode) void
Method that will setup the message receiver for the messages sent from the Local Play Back Service.void
startChannelScanningFromExxtractorAddress
(String exxtractorIpAddress, AudioEverywhereResponseHandler responseHandler, FeaturesHelper.ExxtractorApiVersion exxtractorApiVersion, int deviceType, boolean isPrivateChannelsEnabled) Method that will start the synchronization for the channels with the current exxtractor over the networkMethods inherited from class com.exxothermic.audioeverywheresdk.ExxChannelManager
cleanPlaybackStatus, cleanPreparedExxtractors, cleanUpServices, getCurrentAudioChannel, getCurrentChannelIndex, getCustomButtons, getIsAdminModeEnabled, getmSha1Encryption, getUrlEndpoint, getUsingHttps, handleHttpErrorForPlaybackOperation, initializeTelephonyManager, isExxtractorIpPresent, pauseScan, refreshCurrentChannelCollection, resetCurrentAudioChannel, resetScan, restartPlayback, setAvailableIpServers, setContext, setControllerAndNotificationText, setDeviceInformation, setIsAdminModeEnabled, setmSha1Encryption, setNotificationBuilder, setPartnerId, setProfile, setUsingHttps, startNewStream, startStreamingPlayback, startStreamOfChannel, stopDemoMode, stopPlaybackWithoutService, stopStream, stopStreamingWithChannel
-
Method Details
-
setInDemoMode
public void setInDemoMode(boolean inDemoMode) -
getCurrentChannelList
Description copied from class:ExxChannelManager
Returns the current list of channels- Specified by:
getCurrentChannelList
in classExxChannelManager
- Returns:
- List with the current channels
-
setupMessageReceiver
public void setupMessageReceiver()Method that will setup the message receiver for the messages sent from the Local Play Back Service. Messages here will stop the streaming when needed, based on the Playback Service Requirements. -
startChannelScanningFromExxtractorAddress
public void startChannelScanningFromExxtractorAddress(String exxtractorIpAddress, AudioEverywhereResponseHandler responseHandler, FeaturesHelper.ExxtractorApiVersion exxtractorApiVersion, int deviceType, boolean isPrivateChannelsEnabled) Method that will start the synchronization for the channels with the current exxtractor over the network- Specified by:
startChannelScanningFromExxtractorAddress
in classExxChannelManager
- Parameters:
exxtractorIpAddress
- IP address to request the channels from serversresponseHandler
- that will be called when the channel scanning finishes, either on success or failure status.exxtractorApiVersion
- that will indicate the version of the venue serverdeviceType
- Type of device to use for retrieve the list of channelisPrivateChannelsEnabled
- that will indicate if the privacy of the channels is enabled on this version
-