com.ooyala.android.item.Caption Class Reference

Public Member Functions

 Caption (double begin, double end, String text)
 Initialize a Caption with the given parameters. More...
 
double getBegin ()
 Fetch the time to begin showing this Caption. More...
 
double getEnd ()
 Fetch the time to stop showing this Caption. More...
 
String getText ()
 Fetch the text of this Caption. More...
 
boolean equals (Object o)
 
int hashCode ()
 

Protected Attributes

double _begin = 0
 
double _end = 0
 
String _text = null
 

Constructor & Destructor Documentation

com.ooyala.android.item.Caption.Caption ( double  begin,
double  end,
String  text 
)

Initialize a Caption with the given parameters.

Parameters
beginthe begin timestamp
endthe end timestamp
textthe subtitle text

Member Function Documentation

boolean com.ooyala.android.item.Caption.equals ( Object  o)
double com.ooyala.android.item.Caption.getBegin ( )

Fetch the time to begin showing this Caption.

Returns
the time to begin showing this Caption (seconds)
double com.ooyala.android.item.Caption.getEnd ( )

Fetch the time to stop showing this Caption.

Returns
the time to stop showing this Caption (seconds)
String com.ooyala.android.item.Caption.getText ( )

Fetch the text of this Caption.

Returns
the text of this Caption
int com.ooyala.android.item.Caption.hashCode ( )

Member Data Documentation

double com.ooyala.android.item.Caption._begin = 0
protected
double com.ooyala.android.item.Caption._end = 0
protected
String com.ooyala.android.item.Caption._text = null
protected