com.ooyala.android.PlayerInfo Interface Reference

PlayerInfo is a collection of information that describes the capabilities of the playback device. More...

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

Public Member Functions

String getDevice ()
 The string that represents the device for playback authentication. More...
 
Set< String > getSupportedFormats ()
 A set of formats supported by the device. More...
 
Set< String > getSupportedProfiles ()
 A set of profiles 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 getUserAgent ()
 
Map< String, String > getAdditionalParams ()
 Additional params send to the SAS request. More...
 

Detailed Description

PlayerInfo is a collection of information that describes the capabilities of the playback device.

These are used e.g. when negotiating with servers so they can choose the most appropriate asset encodings.

Member Function Documentation

Map<String, String> com.ooyala.android.PlayerInfo.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.

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

The string that represents the device for playback authentication.

Returns
a denotation of the device.

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

Returns the maximum bitrate supported by the device.

Returns
the maximum allowed bitrate

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

Returns the maximum video height supported by the device.

Returns
the maximum allowed height

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

Returns the maximum video width supported by the device.

Returns
the maximum allowed width

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

A set of formats supported by the device.

See Stream class' Delivery Types

Returns
a set of supported formats.

Implemented in com.ooyala.android.DefaultPlayerInfo.

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

A set of profiles supported by the device.

Returns
a set of supported profiles.

Implemented in com.ooyala.android.DefaultPlayerInfo.

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