com.adobe.mediacore.info
Class ClosedCaptionsTrack

java.lang.Object
  extended by com.adobe.mediacore.info.Track
      extended by com.adobe.mediacore.info.ClosedCaptionsTrack

public class ClosedCaptionsTrack
extends Track

Class that defines the ClosedCaptions abstraction. An closed captions track is defined uniquely by its name.


Nested Class Summary
static class ClosedCaptionsTrack.DefaultCCTypes
          The closed captioning track type.
 
Constructor Summary
ClosedCaptionsTrack(String name, String language, boolean isDefault, boolean isActive)
          Default constructor.
 
Method Summary
 boolean isActive()
          Initially, when an asset is loaded, all closed captioning channels are represented as available.
 String toString()
           
 
Methods inherited from class com.adobe.mediacore.info.Track
getLanguage, getName, isDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClosedCaptionsTrack

public ClosedCaptionsTrack(String name,
                           String language,
                           boolean isDefault,
                           boolean isActive)
Default constructor. All track properties are read-only values. They can only be set at construction time.

Parameters:
name - the name of the closed captions track
language - the language of the closed captions track
isDefault - boolean that marks whether the closed captions track is the default one
Method Detail

isActive

public boolean isActive()
Initially, when an asset is loaded, all closed captioning channels are represented as available. During playback, actual activity will be found for specific CC channels. When that happens, they will become active.

Returns:
whether activity has been found for this channel inside the stream.

toString

public String toString()
Overrides:
toString in class Object