OOOoyalaAdSpot Class Reference
A single ooyala video ad associated with specific time. More...
#import "OOOoyalaAdSpot.h"

Instance Methods | |
(instancetype) - initWithTime:clickURL:trackingURLs:embedCode:api: | |
Initialize an OOOoyalaAdSpot using the embed code. More... | |
(instancetype) - initWithDictionary:api: | |
(OOReturnState) - updateWithDictionary: | |
(void) - fetchPlaybackInfoWithCallback: | |
(NSArray *) - embedCodesToAuthorize | |
![]() | |
(instancetype) - initWithTime: | |
Initialize an ad spot with time. More... | |
(NSComparisonResult) - compare: | |
compare two ad spots based on their time * More... | |
Properties | |
NSMutableArray * streams | |
NSString * embedCode | |
The OOOoyalaAdSpot's Embed Code. More... | |
BOOL authorized | |
OOAuthCode authCode | |
BOOL heartbeatRequired | |
![]() | |
NSURL * clickURL | |
The URL which should be opened when the OOAdSpot is clicked. More... | |
NSArray * trackingURLs | |
The Array of URLs which should be pinged when the OOAdSpot plays. More... | |
![]() | |
NSNumber * time | |
time to play the ad in second More... | |
int priority | |
the priority to distinguish ad spots of same time, adspot having a smaller priority will be played first More... | |
Additional Inherited Members | |
![]() | |
(OOManagedAdSpot *) + adSpotFromDictionary:api:duration: | |
Detailed Description
Method Documentation
- (NSArray *) embedCodesToAuthorize |
- (void) fetchPlaybackInfoWithCallback: | (void(^)(BOOL success)) | callback |
- (instancetype) initWithDictionary: | (NSDictionary *) | data | |
api: | (OOPlayerAPIClient *) | theAPI | |
- (instancetype) initWithTime: | (NSNumber *) | theTime | |
clickURL: | (NSURL *) | theClickURL | |
trackingURLs: | (NSArray *) | theTrackingURLs | |
embedCode: | (NSString *) | theEmbedCode | |
api: | (OOOoyalaAPIClient *) | theAPI | |
Initialize an OOOoyalaAdSpot using the embed code.
- Parameters
-
[in] theTime the time at which to play the ad [in] theClickURL the clickthrough URL [in] theTrackingURLs the tracking URLs [in] theEmbedCode the embed code to initialize the OOOoyalaAdSpot with [in] theAPI the OOPlayerAPIClient that was used to fetch this OOOoyalaAdSpot
- Returns
- the initialized OOOoyalaAdSpot
- (OOReturnState) updateWithDictionary: | (NSDictionary *) | data |
Property Documentation
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
The OOOoyalaAdSpot's Embed Code.
|
readwritenonatomicassign |
|
readnonatomicassign |
The documentation for this class was generated from the following file: