com.ooyala.android.captions.ManifestClosedCaption.Builder Class Reference

Public factory class for creating ManifestClosedCaption objects. More...

Public Member Functions

 Builder ()
 Create a builder object. More...
 
Builder setFormat (Format format)
 Format for the closed caption. More...
 
Builder setGroupIndex (int groupIndex)
 Group index for the closed caption. More...
 
Builder setTrackIndex (int trackIndex)
 Track index for the closed caption. More...
 
ManifestClosedCaption build ()
 Build a ManifestClosedCaption only if language, track and group index are available. More...
 

Detailed Description

Public factory class for creating ManifestClosedCaption objects.

Constructor & Destructor Documentation

com.ooyala.android.captions.ManifestClosedCaption.Builder.Builder ( )

Create a builder object.

Member Function Documentation

ManifestClosedCaption com.ooyala.android.captions.ManifestClosedCaption.Builder.build ( )

Build a ManifestClosedCaption only if language, track and group index are available.

Returns
a ManifestClosedCaption object if language, track and group index available, null otherwise
Builder com.ooyala.android.captions.ManifestClosedCaption.Builder.setFormat ( Format  format)

Format for the closed caption.

Parameters
formatRepresentation of a media Format
Returns
the builder object
Builder com.ooyala.android.captions.ManifestClosedCaption.Builder.setGroupIndex ( int  groupIndex)

Group index for the closed caption.

Parameters
groupIndexIndex of a group containing a language, within a text TrackGroupArray
Returns
the builder object
Builder com.ooyala.android.captions.ManifestClosedCaption.Builder.setTrackIndex ( int  trackIndex)

Track index for the closed caption.

Parameters
trackIndexIndex of a track inside a TrackGroup associated to a media Format
Returns
the builder object