<OOFairplayContentKeyDelegate> Protocol Reference

This delegate communicates about downloading a Fairplay license. More...

#import <OOFairplayContentKeyDelegate.h>

Instance Methods

(void) - contentKeyFailedToRetrieveWithError:
 If there was an error retrieving a Fairplay key from the server, this method will be called. More...
 
(void) - contentKeyPersistedAtLocation:forAsset:
 If we intent to download the Fairplay asset, this will be called after saving the Fairplay key retrieved from the server. More...
 

Detailed Description

This delegate communicates about downloading a Fairplay license.

Method Documentation

- (void) contentKeyFailedToRetrieveWithError: (NSError *)  error

If there was an error retrieving a Fairplay key from the server, this method will be called.

Parameters
errordescription of what went wrong.
- (void) contentKeyPersistedAtLocation: (NSURL *)  location
forAsset: (AVURLAsset *)  asset 
optional

If we intent to download the Fairplay asset, this will be called after saving the Fairplay key retrieved from the server.

Parameters
locationwhere it was persisted in the device.
assetthe asset that will be downloaded.

The documentation for this protocol was generated from the following file: