com.ooyala.android.item.AuthorizableItem Interface Reference

Stores the info and metatdata for the specified movie. More...

Inheritance diagram for com.ooyala.android.item.AuthorizableItem:
com.ooyala.android.ads.ooyala.OoyalaAdSpot com.ooyala.android.item.ContentItem com.ooyala.android.item.Channel com.ooyala.android.item.ChannelSet com.ooyala.android.item.Video com.ooyala.android.item.DynamicChannel com.ooyala.android.item.StandaloneVideo

Classes

interface  AuthCode
 Authorize response codes. More...
 

Public Member Functions

boolean isAuthorized ()
 Whether or not this AuthorizableItem is authorized. More...
 
int getAuthCode ()
 The Auth Code from the authorization request. More...
 
ReturnState update (JSONObject data)
 Update the AuthorizableItem using the specified data. More...
 
List< String > embedCodesToAuthorize ()
 For internal use only. More...
 
boolean isHeartbeatRequired ()
 

Static Public Attributes

static String [] authCodeDescription
 

Detailed Description

Stores the info and metatdata for the specified movie.

Member Function Documentation

List<String> com.ooyala.android.item.AuthorizableItem.embedCodesToAuthorize ( )

For internal use only.

The embed codes to authorize for the AuthorizableItemInternal

Returns
the embed codes to authorize as a List

Implemented in com.ooyala.android.item.ContentItem, com.ooyala.android.item.Channel, com.ooyala.android.item.ChannelSet, com.ooyala.android.ads.ooyala.OoyalaAdSpot, and com.ooyala.android.item.DynamicChannel.

int com.ooyala.android.item.AuthorizableItem.getAuthCode ( )

The Auth Code from the authorization request.

Returns
an int with the status of the authorization request

Implemented in com.ooyala.android.item.ContentItem, and com.ooyala.android.ads.ooyala.OoyalaAdSpot.

boolean com.ooyala.android.item.AuthorizableItem.isAuthorized ( )

Whether or not this AuthorizableItem is authorized.

Returns
true if authorized, false if not

Implemented in com.ooyala.android.item.ContentItem, and com.ooyala.android.ads.ooyala.OoyalaAdSpot.

boolean com.ooyala.android.item.AuthorizableItem.isHeartbeatRequired ( )
ReturnState com.ooyala.android.item.AuthorizableItem.update ( JSONObject  data)

Update the AuthorizableItem using the specified data.

Parameters
datathe data to use to update this AuthorizableItem
Returns
a ReturnState based on if the data matched or not (or parsing failed)

Implemented in com.ooyala.android.item.ContentItem, com.ooyala.android.item.Video, com.ooyala.android.ads.ooyala.OoyalaAdSpot, com.ooyala.android.item.Channel, com.ooyala.android.item.ChannelSet, and com.ooyala.android.item.DynamicChannel.

Member Data Documentation

String [] com.ooyala.android.item.AuthorizableItem.authCodeDescription
static