A single playable content item, such as video.
More...
#import "OOContentItem.h"
A single playable content item, such as video.
OOContentItem.
OOContentItem.h in OoyalaSDK
| + (OOContentItem *) contentItemFromDictionary: |
|
(NSDictionary *) |
data |
| embedCode: |
|
(NSString *) |
embedCode |
| api: |
|
(OOPlayerAPIClient *) |
api |
|
|
| |
| + (OOContentItem *) contentItemFromDictionary: |
|
(NSDictionary *) |
data |
| embedCodes: |
|
(NSArray *) |
embedCodes |
| api: |
|
(OOPlayerAPIClient *) |
api |
|
|
| |
| - (NSArray *) embedCodesToAuthorize |
|
|
|
| - (NSString *) getPromoImageURLForWidth: |
|
(NSInteger) |
width |
| height: |
|
(NSInteger) |
height |
|
|
| |
Get the promo image URL for this content item that will be at least the specified dimensions.
- Parameters
-
| [in] | width | the minimum width |
| [in] | height | the minimum height |
- Returns
- a string containing the promo image URL
| - (instancetype) initWithDictionary: |
|
(NSDictionary *) |
data |
| embedCode: |
|
(NSString *) |
theEmbedCode |
| api: |
|
(OOPlayerAPIClient *) |
theAPI |
|
|
| |
| - (instancetype) initWithEmbedCode: |
|
(NSString *) |
theEmbedCode |
| title: |
|
(NSString *) |
theTitle |
| description: |
|
(NSString *) |
theDescription |
|
|
| |
Initialize a OOContentItem.
- Parameters
-
| [in] | theEmbedCode | the embed code |
| [in] | theTitle | the title |
| [in] | theDescription | the description |
- Returns
- the initialized OOContentItem
| - (OOReturnState) updateWithDictionary: |
|
(NSDictionary *) |
data |
|
| - (OOVideo *) videoFromEmbedCode: |
|
(NSString *) |
embedCode |
| withCurrentItem: |
|
(OOVideo *) |
currentItem |
|
|
| |
| - (OOPlayerAPIClient *) api |
|
readnonatomicassignprotected |
|
|
readnonatomicassignprotected |
The response code from the authorize call.
|
|
readnonatomicassignprotected |
| - (NSString *) contentType |
|
readnonatomicassignprotected |
|
|
readnonatomicassignprotected |
| - (NSString *) externalId |
|
readnonatomicassignprotected |
|
|
readnonatomicassignprotected |
| - (NSString *) hostedAtURL |
|
readnonatomicassignprotected |
| - (NSString *) itemDescription |
|
readnonatomicassignprotected |
| - (NSString *) promoImageURL |
|
readnonatomicassignprotected |
| - (SsaiMetadata *) ssaiMetadata |
|
readnonatomicassignprotected |
|
|
readnonatomicassignprotected |
| - (NSMutableArray*) externalAds |
|
readnonatomicassign |
| - (BOOL) heartbeatRequired |
|
readwritenonatomicassign |
| - (NSDictionary*) metadata |
|
readnonatomicassign |
| - (int) midStreamCheckInterval |
|
readnonatomicassign |
| - (NSDictionary*) moduleData |
|
readnonatomicassign |
| - (NSDictionary*) movieAttributes |
|
readnonatomicassign |
| - (BOOL) needsMidStreamCheck |
|
readnonatomicassign |
The documentation for this class was generated from the following file: