com.ooyala.android.DefaultPlayerInfo Class Reference
Inheritance diagram for com.ooyala.android.DefaultPlayerInfo:
com.ooyala.android.PlayerInfo

Public Member Functions

 DefaultPlayerInfo (Set< String > supportedFormats, final Set< String > supportedProfiles)
 
Set< String > getSupportedProfiles ()
 A set of profiles supported by the device. More...
 
Set< String > getSupportedFormats ()
 A set of formats supported by the device. More...
 
int getMaxWidth ()
 Returns the maximum video width supported by the device. More...
 
int getMaxHeight ()
 Returns the maximum video height supported by the device. More...
 
int getMaxBitrate ()
 Returns the maximum bitrate supported by the device. More...
 
String getDevice ()
 The string that represents the device for playback authentication. More...
 
String getUserAgent ()
 
Map< String, String > getAdditionalParams ()
 Additional params send to the SAS request. More...
 

Constructor & Destructor Documentation

com.ooyala.android.DefaultPlayerInfo.DefaultPlayerInfo ( Set< String >  supportedFormats,
final Set< String >  supportedProfiles 
)

Member Function Documentation

Map<String, String> com.ooyala.android.DefaultPlayerInfo.getAdditionalParams ( )

Additional params send to the SAS request.

Returns
a map with key, value pairs that will be added as query parameters in the HTTP SAS request.

Implements com.ooyala.android.PlayerInfo.

String com.ooyala.android.DefaultPlayerInfo.getDevice ( )

The string that represents the device for playback authentication.

Returns
a denotation of the device.

Implements com.ooyala.android.PlayerInfo.

int com.ooyala.android.DefaultPlayerInfo.getMaxBitrate ( )

Returns the maximum bitrate supported by the device.

Returns
the maximum allowed bitrate

Implements com.ooyala.android.PlayerInfo.

int com.ooyala.android.DefaultPlayerInfo.getMaxHeight ( )

Returns the maximum video height supported by the device.

Returns
the maximum allowed height

Implements com.ooyala.android.PlayerInfo.

int com.ooyala.android.DefaultPlayerInfo.getMaxWidth ( )

Returns the maximum video width supported by the device.

Returns
the maximum allowed width

Implements com.ooyala.android.PlayerInfo.

Set<String> com.ooyala.android.DefaultPlayerInfo.getSupportedFormats ( )

A set of formats supported by the device.

See Stream class' Delivery Types

Returns
a set of supported formats.

Implements com.ooyala.android.PlayerInfo.

Set<String> com.ooyala.android.DefaultPlayerInfo.getSupportedProfiles ( )

A set of profiles supported by the device.

Returns
a set of supported profiles.

Implements com.ooyala.android.PlayerInfo.

String com.ooyala.android.DefaultPlayerInfo.getUserAgent ( )