Adobe Access Objective-C API  4.0
This document describes the Objective-C API exposed for Adobe Access support on iOS.
All Classes Files Functions Typedefs Enumerations Enumerator Properties
Classes | Typedefs | Enumerations
DRMInterface.h File Reference
#include <Foundation/Foundation.h>

Go to the source code of this file.

Classes

class  DRMManager
class  DRMMetadata
class  DRMPolicy
class  DRMLicenseDomain
class  DRMLicense
class  DRMPlaybackTimeWindow
class  DRMSession

Typedefs

typedef void(^ DRMOperationError )(NSUInteger majorCode, NSUInteger minorCode, NSError *platformError)
typedef void(^ DRMOperationComplete )()
typedef void(^ DRMLicenseAcquired )(DRMLicense *license)
typedef void(^ DRMPlaylistUpdated )(NSURL *playlist, DRMMetadata *metadata)
typedef void(^ DRMAuthenticationComplete )(NSData *authenticationToken)

Enumerations

enum  DRMAuthenticationMethod { UNKNOWN = 0, ANONYMOUS = 1, USERNAME_AND_PASSWORD = 2 }
enum  DRMAcquireLicenseSettings { FORCE_REFRESH = 0, LOCAL_ONLY = 1, ALLOW_SERVER = 2 }

Typedef Documentation

typedef void(^ DRMAuthenticationComplete)(NSData *authenticationToken)

Definition at line 62 of file DRMInterface.h.

typedef void(^ DRMLicenseAcquired)(DRMLicense *license)

Definition at line 60 of file DRMInterface.h.

typedef void(^ DRMOperationComplete)()

Definition at line 59 of file DRMInterface.h.

typedef void(^ DRMOperationError)(NSUInteger majorCode, NSUInteger minorCode, NSError *platformError)

Definition at line 58 of file DRMInterface.h.

typedef void(^ DRMPlaylistUpdated)(NSURL *playlist, DRMMetadata *metadata)

Definition at line 61 of file DRMInterface.h.


Enumeration Type Documentation

This class provides string constants for use with the settings parameter of the DRMManager acquireLicense() method.

Enumerator:
FORCE_REFRESH 

The License is always downloaded from the media rights server. The license will be obtained from the license server even if the license is available locally.

LOCAL_ONLY 

The License is only loaded from the local cache. The license will never be obtained from the server. The local copy of the license will be used. If there is no local copy of the license, the application returns an error message.

ALLOW_SERVER 

The License is loaded from the local cache if possible, but otherwise is downloaded from the server. If there is a local copy of a valid license, it will be used. If there is no valid local copy of the license, the license will be obtained from the license server. This method is the ideal way of obtaining licenses.

Definition at line 76 of file DRMInterface.h.

The DRM AuthenticationMethod class provides string constants enumerating the different types of authentication used by the authenticationMethod property of the DRMMetadata class.

Enumerator:
UNKNOWN 
ANONYMOUS 
USERNAME_AND_PASSWORD 

Definition at line 67 of file DRMInterface.h.