BCOVFPSBrightcoveAuthProxy Class Reference
Inherits from | NSObject |
---|---|
Conforms to | BCOVFPSAuthorizationProxy |
Declared in | BrightcovePlayerSDK-Swift.h |
Other Methods
ErrorDomain
Error domain for FairPlay Auth Proxy related errors.
@property (nonatomic, class, readonly, copy) NSString *ErrorDomain
Discussion
Error domain for FairPlay Auth Proxy related errors.
Declared In
BrightcovePlayerSDK-Swift.h
ResponseData
Key for retreiving response data from an NSError object’s userInfo dictionary.
@property (nonatomic, class, readonly, copy) NSString *ResponseData
Discussion
Key for retreiving response data from an NSError object’s userInfo dictionary.
Declared In
BrightcovePlayerSDK-Swift.h
fpsBaseURL
The base url for FairPlay related license requests. The default URL points to fps.brightcove.com. If set to nil, the default URL pointing at fps.brightcove.com will be re-created.
@property (nonatomic, copy) NSURL *fpsBaseURL
Discussion
The base url for FairPlay related license requests. The default URL points to fps.brightcove.com. If set to nil, the default URL pointing at fps.brightcove.com will be re-created.
Declared In
BrightcovePlayerSDK-Swift.h
keyRequestURL
The key request URL for FairPlay related key requests. Normally set to nil, in which case the key request URL will be retrieved from the Video Cloud Playback API response.
@property (nonatomic, copy) NSURL *keyRequestURL
Discussion
The key request URL for FairPlay related key requests. Normally set to nil, in which case the key request URL will be retrieved from the Video Cloud Playback API response.
Declared In
BrightcovePlayerSDK-Swift.h
sharedURLSession
URLSession shared across all network calls to the BCOVFPSBrightcoveAuthProxy. This object is created when the Playback Service is initialized. If you wish to use your own URLSession you can set it here. If set to nil, the default URLSession will be re-created.
@property (nonatomic, strong) NSURLSession *sharedURLSession
Discussion
URLSession shared across all network calls to the BCOVFPSBrightcoveAuthProxy. This object is created when the Playback Service is initialized. If you wish to use your own URLSession you can set it here. If set to nil, the default URLSession will be re-created.
Declared In
BrightcovePlayerSDK-Swift.h
– initWithPublisherId:applicationId:
returns: An initialized proxy.
- (nonnull instancetype)initWithPublisherId:(NSString *_Nullable)pubId applicationId:(NSString *_Nullable)appId
Discussion
returns: An initialized proxy.
Declared In
BrightcovePlayerSDK-Swift.h
– retrieveApplicationCertificate:
- (void)retrieveApplicationCertificate:(void ( ^ _Nonnull ) ( NSData *_Nullable , NSError *_Nullable ))completionHandler
SWIFT_EXTENSION Methods
– contentIdentifierFromLoadingRequest:
returns: The content identifier in a Data object.
- (NSData *_Nullable)contentIdentifierFromLoadingRequest:(AVAssetResourceLoadingRequest *_Nonnull)loadingRequest
Discussion
returns: The content identifier in a Data object.
Declared In
BrightcovePlayerSDK-Swift.h
– contentIdentifierFromKeyRequest:
returns: The content identifier in a Data object.
- (NSData *_Nullable)contentIdentifierFromKeyRequest:(AVContentKeyRequest *_Nullable)keyRequest
Discussion
returns: The content identifier in a Data object.
Declared In
BrightcovePlayerSDK-Swift.h
– encryptedContentKeyForContentKeyIdentifier:contentKeyRequest:source:options:completionHandler:
- (void)encryptedContentKeyForContentKeyIdentifier:(NSString *_Nonnull)contentKeyIdentifier contentKeyRequest:(NSData *_Nonnull)keyRequest source:(BCOVSource *_Nullable)source options:(NSDictionary *_Nullable)options completionHandler:(void ( ^ _Nonnull ) ( NSURLResponse *_Nullable , NSData *_Nullable , NSDate *_Nullable , NSError *_Nullable ))completionHandler