com.adobe.mediacore.info
Class ClosedCaptionsTrack
java.lang.Object
com.adobe.mediacore.info.Track
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.
Method Summary |
boolean |
isActive()
Initially, when an asset is loaded, all closed captioning channels are represented as available. |
String |
toString()
|
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 tracklanguage
- the language of the closed captions trackisDefault
- boolean that marks whether the closed captions track is the default one
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