OODiscoveryManager.h
1 
10 #import <Foundation/Foundation.h>
11 #import "OOEmbedTokenGenerator.h"
12 #import "OOOoyalaError.h"
13 #import "OODiscoveryOptions.h"
14 
20 typedef void(^OODiscoveryResultsCallback)(NSArray *results, OOOoyalaError *error);
21 
22 @interface OODiscoveryManager : NSObject
23 
34 + (void)getResults:(OODiscoveryOptions *)options
35  embedCode:(NSString *)embedCode
36  pcode:(NSString *)pcode
37  parameters:(NSDictionary *)parameters
38  callback:(OODiscoveryResultsCallback)callback;
39 
45 + (void)sendImpression:(OODiscoveryOptions *)options
46  bucketInfo:(NSString *)bucketInfo
47  pcode:(NSString *)pcode
48  parameters:(NSDictionary *)parameters;
49 
55 + (void)sendClick:(OODiscoveryOptions *)options
56  bucketInfo:(NSString *)bucketInfo
57  pcode:(NSString *)pcode
58  parameters:(NSDictionary *)parameters;
59 
60 @end
Represents an error in the Ooyala SDK.
Definition: OOOoyalaError.h:56
OODiscoveryOptions.
Definition: OODiscoveryOptions.h:22
OODiscoveryManager.
Definition: OODiscoveryManager.h:22