#import <OOSecurePlayerDrmWorkflow.h>
- ((unavailable("use initWithDxDrmManager") __attribute__ |
|
|
|
+ (NSString *) calculatePersonalizationURLWithPcode: |
|
(NSString*) |
pcode |
|
- Parameters
-
pcode | the Provider Code owning the assets to be played. |
- Returns
- a Personalization URL suitable for use with startPersonalizationWithDxDrmManager.
- (NSString *) dxDrmManagerStatusToString: |
|
(DxDrmManagerStatus) |
status |
|
|
implementation |
- (void) ensurePersonalization |
|
|
|
|
implementation |
- (void) ifNotFailure: |
|
(int) |
failure |
securePlayerCode: |
|
(int) |
securePlayerCode |
ooyalaErrorCode: |
|
(OOOoyalaErrorCode) |
ooyalaErrorCode |
onSuccess: |
|
(void(^)(void)) |
onSuccess |
onFailure: |
|
(void(^)(void)) |
onFailure |
|
|
| |
|
implementation |
- (void) ifSuccess: |
|
(int) |
success |
securePlayerCode: |
|
(int) |
securePlayerCode |
ooyalaErrorCode: |
|
(OOOoyalaErrorCode) |
ooyalaErrorCode |
onSuccess: |
|
(void(^)(void)) |
onSuccess |
onFailure: |
|
(void(^)(void)) |
onFailure |
|
|
| |
|
implementation |
- (instancetype) initWithDxDrmManager: |
|
(DxDrmManager*) |
dxDrmManager |
workflowUtil: |
|
(OOSecurePlayerDrmWorkflowUtil*) |
workflowUtil |
pcode: |
|
(NSString*) |
pcode |
authToken: |
|
(NSString*) |
authToken |
customDrmData: |
|
(NSString*) |
customDrmData |
delegate: |
|
(id<OOSecurePlayerDrmWorkflowDelegate>) |
delegate |
|
|
| |
- (BOOL) isFileDrmEnabled |
|
|
|
+ (void) log: |
|
(NSString*) |
msg |
|
|
implementation |
- (void) personalizeIfDrmed |
|
|
|
|
implementation |
- (void) require: |
|
(BOOL) |
test |
ooyalaErrorCode: |
|
(OOOoyalaErrorCode) |
ooyalaErrorCode |
failureMessage: |
|
(NSString*) |
failureMessage |
onSuccess: |
|
(void(^)(void)) |
onSuccess |
onFailure: |
|
(void(^)(void)) |
onFailure |
|
|
| |
|
implementation |
- (BOOL) shouldAcquireRights |
|
|
|
|
implementation |
+ (void) startPersonalizationWithDxDrmManager: |
|
(DxDrmManager*) |
dxDrmManager |
onQueue: |
|
(dispatch_queue_t) |
queue |
appVersion: |
|
(NSString*) |
appVersion |
sessionId: |
|
(NSString*) |
sessionId |
personalizationServerUrl: |
|
(NSString*) |
personalizationServerUrl |
delegate: |
|
(OOPersonalizationDelegate) |
delegate |
|
|
| |
Allow for the Personalization process to happen before the whole playback sequence begins.
- Parameters
-
dxDrmManager | generally [DxDrmManager sharedManager]. |
queue | a dispatch_queue_t for running the Personalization asynchronously. |
appVersion | is app specific. |
sessionId | is app specific. |
personalizationServerUrl | from calculatePersonalizationURLWithPcode. |
delegate | to call with the DxDrmManagerStatus result code from the personalization process. |
|
readnonatomicassignimplementation |
|
readnonatomicassignimplementation |
- (NSString*) customDrmData |
|
readnonatomicassignimplementation |
- (id<OOSecurePlayerDrmWorkflowDelegate>) delegate |
|
readnonatomicweakimplementation |
|
readnonatomicassignimplementation |
- (dispatch_queue_t) gcdQueue |
|
readnonatomicassignimplementation |
- (NSString*) personalizationServerUrl |
|
readnonatomicassignimplementation |
|
readnonatomicassignimplementation |
|
readnonatomicassignimplementation |
The documentation for this class was generated from the following files: