OOSecurePlayerDrmWorkflow Class Reference

#import <OOSecurePlayerDrmWorkflow.h>

+ Inheritance diagram for OOSecurePlayerDrmWorkflow:

Instance Methods

((unavailable("use initWithDxDrmManager") - __attribute__
 
(instancetype) - initWithDxDrmManager:workflowUtil:pcode:authToken:customDrmData:delegate:
 
(void) - startWorkflow
 
(BOOL) - isFileDrmEnabled
 
(BOOL) - areRightsValid
 
(void) - deleteDownload
 
(id) - init [implementation]
 
(void) - require:ooyalaErrorCode:failureMessage:onSuccess:onFailure: [implementation]
 
(void) - ifNotFailure:securePlayerCode:ooyalaErrorCode:onSuccess:onFailure: [implementation]
 
(void) - ifSuccess:securePlayerCode:ooyalaErrorCode:onSuccess:onFailure: [implementation]
 
(void) - downloadFile [implementation]
 
(void) - personalizeIfDrmed [implementation]
 
(BOOL) - shouldAcquireRights [implementation]
 
(void) - ensurePersonalization [implementation]
 
(void) - fetchRights [implementation]
 
(NSString *) - dxDrmManagerStatusToString: [implementation]
 

Class Methods

(NSString *) + calculatePersonalizationURLWithPcode:
 
(void) + startPersonalizationWithDxDrmManager:onQueue:appVersion:sessionId:personalizationServerUrl:delegate:
 Allow for the Personalization process to happen before the whole playback sequence begins. More...
 
(void) + log: [implementation]
 

Properties

NSURL * url
 
DxDrmManagerdxDrmManager [implementation]
 
OOSecurePlayerDrmWorkflowUtilworkflowUtil [implementation]
 
NSString * authToken [implementation]
 
NSString * customDrmData [implementation]
 
id< OOSecurePlayerDrmWorkflowDelegate > delegate [implementation]
 
dispatch_queue_t gcdQueue [implementation]
 
NSString * sessionId [implementation]
 
NSString * personalizationServerUrl [implementation]
 
NSString * appVersion [implementation]
 

Method Documentation

- ((unavailable("use initWithDxDrmManager") __attribute__
- (BOOL) areRightsValid
+ (NSString *) calculatePersonalizationURLWithPcode: (NSString*)  pcode
Parameters
pcodethe Provider Code owning the assets to be played.
Returns
a Personalization URL suitable for use with startPersonalizationWithDxDrmManager.
- (void) deleteDownload
- (void) downloadFile
implementation
- (NSString *) dxDrmManagerStatusToString: (DxDrmManagerStatus)  status
implementation
- (void) ensurePersonalization
implementation
- (void) fetchRights
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
- (id) init
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
dxDrmManagergenerally [DxDrmManager sharedManager].
queuea dispatch_queue_t for running the Personalization asynchronously.
appVersionis app specific.
sessionIdis app specific.
personalizationServerUrlfrom calculatePersonalizationURLWithPcode.
delegateto call with the DxDrmManagerStatus result code from the personalization process.
- (void) startWorkflow

Property Documentation

- (NSString*) appVersion
readnonatomicassignimplementation
- (NSString*) authToken
readnonatomicassignimplementation
- (NSString*) customDrmData
readnonatomicassignimplementation
- (id<OOSecurePlayerDrmWorkflowDelegate>) delegate
readnonatomicweakimplementation
- (DxDrmManager*) dxDrmManager
readnonatomicassignimplementation
- (dispatch_queue_t) gcdQueue
readnonatomicassignimplementation
- (NSString*) personalizationServerUrl
readnonatomicassignimplementation
- (NSString*) sessionId
readnonatomicassignimplementation
- (NSURL *) url
readnonatomicassign
- (OOSecurePlayerDrmWorkflowUtil*) workflowUtil
readnonatomicassignimplementation

The documentation for this class was generated from the following files: