Interface ICupertinoMediaCasterHolder
- 
 public interface ICupertinoMediaCasterHolderInterface to define parameters potentially retrievable when a stream is found within a manifest along with maintaining a list of elements that are made available within a chunklist It is up to the ICupertinoMediaCasterPlaylistParser implementaton to set these parameters. The ICupertinoMediaCasterHolder object is made available to the ICupertinoMediaCasterManageStreamName implementation so to provide context when determining stream names to use.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddIndexElement(String ElementValue, long duration)Add an Index element to the listbooleancheckIndexAvailable(String url)Check if the URL provided is in this holderStringgetAudioCodec()Get the audio codeclonggetCurrentDuration()Get the current durationintgetIndexAudioTag()Get the audio tagintgetIndexBitrate()Get the bitrateintgetIndexBitsPerSample()Get the bits per sampleintgetIndexChannel()Get the channel countintgetIndexChunkCount()Get the chunk countStringgetIndexCodecPrivateData()Get the index codec private dataintgetIndexDisplayHeight()Get the display heightintgetIndexDisplayWidth()Get the index display widthintgetIndexElementCount()Get the element countStringgetIndexFourCC()Get the FourCC parameterStringgetIndexGroupID()Get the group IDintgetIndexId()Get the index IDStringgetIndexLanguage()Get the languageintgetIndexMaxHeight()Get the max heightintgetIndexMaxWidth()Get the max widthStringgetIndexMediaLine()Get the media lineStringgetIndexName()Get the index nameintgetIndexPacketSize()Get the index packet sizeStringgetIndexProgramID()Get the program IDStringgetIndexResolution()Get the resolutionintgetIndexSampleRate()Get the sample rateStringgetIndexType()Get the index typeStringgetIndexURL()Get the URLbooleangetisLive()Get this isLive flagStringgetNextIndexElement()Get the next index elementStringgetVideoCodec()Get the video codecvoidsetAudioCodec(String audiocodec)Set the audio codecvoidsetIndexAudioLocation(String audioLocation)Set the audio locationvoidsetIndexAudioTag(int audiotag)Set the audio tagvoidsetIndexBitrate(String bitrate)Set the bitratevoidsetIndexBitsPerSample(int bitspersample)Set the bits per samplevoidsetIndexChannel(int channel)Set the channel countvoidsetIndexChunkCount(int index)Set the chunk countvoidsetIndexCodecPrivateData(String codecprivatedata)Set the index codec private datavoidsetIndexCODECS(String completeCodecs)Set the codec stringvoidsetIndexDefault(String defaultSetting)Set the default settingvoidsetIndexDisplayHeight(int displayheight)Set the display heightvoidsetIndexDisplayWidth(int displaywidth)Set the index display widthvoidsetIndexFourCC(String fourcc)Set the FourCC parametervoidsetIndexGroupID(String groupid)Set the group IDvoidsetIndexId(int index)Set the index IDvoidsetIndexLanguage(String lang)Set the languagevoidsetIndexMaxHeight(int maxheight)Set the max heightvoidsetIndexMaxWidth(int maxwidth)Set the max widthvoidsetIndexMediaLine(String medialine)Set the media linevoidsetIndexName(String name)Set the index namevoidsetIndexPacketSize(int packetsize)Set the index packet sizevoidsetIndexProgramID(String id)Set the program IDvoidsetIndexResolution(String resolution)Set the resolutionvoidsetIndexSampleRate(int samplerate)Set the sample ratevoidsetIndexType(String type)Set the index typevoidsetIndexURL(String url)Set the URLvoidsetisLive(boolean live)Set the isLive flagvoidsetVideoCodec(String videocodec)Set the video codec
 
- 
- 
- 
Method Detail- 
getisLiveboolean getisLive() Get this isLive flag- Returns:
 
 - 
setisLivevoid setisLive(boolean live) Set the isLive flag- Parameters:
- live-
 
 - 
getNextIndexElementString getNextIndexElement() Get the next index element- Returns:
- String
 
 - 
addIndexElementvoid addIndexElement(String ElementValue, long duration)Add an Index element to the list- Parameters:
- ElementValue-
- duration-
 
 - 
getCurrentDurationlong getCurrentDuration() Get the current duration- Returns:
- long
 
 - 
setIndexCodecPrivateDatavoid setIndexCodecPrivateData(String codecprivatedata) Set the index codec private data- Parameters:
- codecprivatedata-
 
 - 
getIndexCodecPrivateDataString getIndexCodecPrivateData() Get the index codec private data- Returns:
- String
 
 - 
setIndexDisplayWidthvoid setIndexDisplayWidth(int displaywidth) Set the index display width- Parameters:
- displaywidth-
 
 - 
getIndexDisplayWidthint getIndexDisplayWidth() Get the index display width- Returns:
- int
 
 - 
setIndexDisplayHeightvoid setIndexDisplayHeight(int displayheight) Set the display height- Parameters:
- displayheight-
 
 - 
getIndexDisplayHeightint getIndexDisplayHeight() Get the display height- Returns:
- int
 
 - 
setIndexMaxHeightvoid setIndexMaxHeight(int maxheight) Set the max height- Parameters:
- maxheight-
 
 - 
getIndexMaxHeightint getIndexMaxHeight() Get the max height- Returns:
- int
 
 - 
setIndexMaxWidthvoid setIndexMaxWidth(int maxwidth) Set the max width- Parameters:
- maxwidth-
 
 - 
getIndexMaxWidthint getIndexMaxWidth() Get the max width- Returns:
- int
 
 - 
setIndexAudioTagvoid setIndexAudioTag(int audiotag) Set the audio tag- Parameters:
- audiotag-
 
 - 
getIndexAudioTagint getIndexAudioTag() Get the audio tag- Returns:
- int
 
 - 
setIndexPacketSizevoid setIndexPacketSize(int packetsize) Set the index packet size- Parameters:
- packetsize-
 
 - 
getIndexPacketSizeint getIndexPacketSize() Get the index packet size- Returns:
 
 - 
setIndexBitsPerSamplevoid setIndexBitsPerSample(int bitspersample) Set the bits per sample- Parameters:
- bitspersample-
 
 - 
getIndexBitsPerSampleint getIndexBitsPerSample() Get the bits per sample- Returns:
- int
 
 - 
setIndexBitratevoid setIndexBitrate(String bitrate) Set the bitrate- Parameters:
- bitrate-
 
 - 
getIndexBitrateint getIndexBitrate() Get the bitrate- Returns:
- int
 
 - 
setIndexChannelvoid setIndexChannel(int channel) Set the channel count- Parameters:
- channel-
 
 - 
getIndexChannelint getIndexChannel() Get the channel count- Returns:
- int
 
 - 
setIndexSampleRatevoid setIndexSampleRate(int samplerate) Set the sample rate- Parameters:
- samplerate-
 
 - 
getIndexSampleRateint getIndexSampleRate() Get the sample rate- Returns:
- int
 
 - 
setIndexFourCCvoid setIndexFourCC(String fourcc) Set the FourCC parameter- Parameters:
- fourcc-
 
 - 
getIndexFourCCString getIndexFourCC() Get the FourCC parameter- Returns:
 
 - 
setIndexChunkCountvoid setIndexChunkCount(int index) Set the chunk count- Parameters:
- index-
 
 - 
getIndexChunkCountint getIndexChunkCount() Get the chunk count- Returns:
- int
 
 - 
setIndexCODECSvoid setIndexCODECS(String completeCodecs) Set the codec string- Parameters:
- completeCodecs-
 
 - 
setIndexIdvoid setIndexId(int index) Set the index ID- Parameters:
- index-
 
 - 
getIndexIdint getIndexId() Get the index ID- Returns:
- int
 
 - 
setAudioCodecvoid setAudioCodec(String audiocodec) Set the audio codec- Parameters:
- audiocodec-
 
 - 
getAudioCodecString getAudioCodec() Get the audio codec- Returns:
- String
 
 - 
setVideoCodecvoid setVideoCodec(String videocodec) Set the video codec- Parameters:
- videocodec-
 
 - 
getVideoCodecString getVideoCodec() Get the video codec- Returns:
- String
 
 - 
setIndexMediaLinevoid setIndexMediaLine(String medialine) Set the media line- Parameters:
- medialine-
 
 - 
getIndexMediaLineString getIndexMediaLine() Get the media line- Returns:
- String
 
 - 
setIndexTypevoid setIndexType(String type) Set the index type- Parameters:
- type-
 
 - 
getIndexTypeString getIndexType() Get the index type- Returns:
- String
 
 - 
setIndexGroupIDvoid setIndexGroupID(String groupid) Set the group ID- Parameters:
- groupid-
 
 - 
getIndexGroupIDString getIndexGroupID() Get the group ID- Returns:
- String
 
 - 
setIndexLanguagevoid setIndexLanguage(String lang) Set the language- Parameters:
- lang-
 
 - 
getIndexLanguageString getIndexLanguage() Get the language- Returns:
- String
 
 - 
setIndexNamevoid setIndexName(String name) Set the index name- Parameters:
- name-
 
 - 
getIndexNameString getIndexName() Get the index name- Returns:
- String
 
 - 
getIndexElementCountint getIndexElementCount() Get the element count- Returns:
- int
 
 - 
setIndexURLvoid setIndexURL(String url) Set the URL- Parameters:
- url-
 
 - 
getIndexURLString getIndexURL() Get the URL- Returns:
- String
 
 - 
setIndexProgramIDvoid setIndexProgramID(String id) Set the program ID- Parameters:
- id-
 
 - 
getIndexProgramIDString getIndexProgramID() Get the program ID- Returns:
- String
 
 - 
setIndexResolutionvoid setIndexResolution(String resolution) Set the resolution- Parameters:
- resolution-
 
 - 
getIndexResolutionString getIndexResolution() Get the resolution- Returns:
- String
 
 - 
checkIndexAvailableboolean checkIndexAvailable(String url) Check if the URL provided is in this holder- Parameters:
- url-
- Returns:
- boolean - available is true, not available false
 
 - 
setIndexDefaultvoid setIndexDefault(String defaultSetting) Set the default setting- Parameters:
- defaultSetting-
 
 - 
setIndexAudioLocationvoid setIndexAudioLocation(String audioLocation) Set the audio location- Parameters:
- audioLocation-
 
 
- 
 
-