BCOVPlaybackServiceRequestFactory Class Reference
Inherits from | NSObject |
---|---|
Declared in | BrightcovePlayerSDK-Swift.h |
Overview
The BCOVPlaybackServiceRequestFactory class provides methods for creating requests for videos from Brightcove’s Playback API.
accountId
Videocloud Account Id.
@property (nonatomic, readonly, copy) NSString *accountId
Discussion
Videocloud Account Id.
Declared In
BrightcovePlayerSDK-Swift.h
policyKey
Videocloud Policy Key
@property (nonatomic, readonly, copy) NSString *policyKey
Discussion
Videocloud Policy Key
Declared In
BrightcovePlayerSDK-Swift.h
authToken
Auth Token for EPA/PAS
@property (nonatomic, readonly, copy) NSString *authToken
Discussion
Auth Token for EPA/PAS
Declared In
BrightcovePlayerSDK-Swift.h
gscBaseURLStr
Base URL for Generic Stream Concurrency
@property (nonatomic, readonly, copy) NSString *gscBaseURLStr
Discussion
Base URL for Generic Stream Concurrency
Declared In
BrightcovePlayerSDK-Swift.h
additionalHTTPRequestHeaders
NSDictionary of additional HTTP request headers set on each NSURLRequest. The dictionary key defines the header field name. Header field names are case-insensitive. Both keys and values should be NSStrings. Defaults to nil.
@property (nonatomic, copy) NSDictionary *additionalHTTPRequestHeaders
Discussion
NSDictionary of additional HTTP request headers set on each NSURLRequest. The dictionary key defines the header field name. Header field names are case-insensitive. Both keys and values should be NSStrings. Defaults to nil.
Declared In
BrightcovePlayerSDK-Swift.h
– initWithAccountId:policyKey:
returns: The initialized BCOVPlaybackServiceRequestFactory.
- (nonnull instancetype)initWithAccountId:(NSString *_Nonnull)accountId policyKey:(NSString *_Nullable)policyKey
Discussion
returns: The initialized BCOVPlaybackServiceRequestFactory.
Declared In
BrightcovePlayerSDK-Swift.h
– initWithAccountId:policyKey:baseURLStr:
returns: The initialized BCOVPlaybackServiceRequestFactory.
- (nonnull instancetype)initWithAccountId:(NSString *_Nonnull)accountId policyKey:(NSString *_Nullable)policyKey baseURLStr:(NSString *_Nullable)baseURLStr
Discussion
returns: The initialized BCOVPlaybackServiceRequestFactory.
Declared In
BrightcovePlayerSDK-Swift.h
– initWithAccountId:policyKey:baseURLStr:authBaseURLStr:
returns: The initialized BCOVPlaybackServiceRequestFactory.
- (nonnull instancetype)initWithAccountId:(NSString *_Nonnull)accountId policyKey:(NSString *_Nullable)policyKey baseURLStr:(NSString *_Nullable)baseURLStr authBaseURLStr:(NSString *_Nullable)authBaseURLStr
Discussion
returns: The initialized BCOVPlaybackServiceRequestFactory.
Declared In
BrightcovePlayerSDK-Swift.h
– initWithAccountId:policyKey:baseURLStr:authBaseURLStr:gscBaseURLStr:
returns: The initialized BCOVPlaybackServiceRequestFactory.
- (nonnull instancetype)initWithAccountId:(NSString *_Nonnull)accountId policyKey:(NSString *_Nullable)policyKey baseURLStr:(NSString *_Nullable)baseURLStr authBaseURLStr:(NSString *_Nullable)authBaseURLStr gscBaseURLStr:(NSString *_Nullable)gscBaseURLStr
Discussion
returns: The initialized BCOVPlaybackServiceRequestFactory.
Declared In
BrightcovePlayerSDK-Swift.h
– requestForPlaylistWithConfiguration:parameters:
returns: Built URLRequest that can be used to fetch the playlist.
- (NSURLRequest *_Nullable)requestForPlaylistWithConfiguration:(NSDictionary<NSString*,id> *_Nonnull)configuration parameters:(NSDictionary<NSString*,id> *_Nullable)parameters
Discussion
returns: Built URLRequest that can be used to fetch the playlist.
Declared In
BrightcovePlayerSDK-Swift.h
– requestForVideoWithConfiguration:parameters:
returns: Built URLRequest that can be used to fetch the playlist.
- (NSURLRequest *_Nullable)requestForVideoWithConfiguration:(NSDictionary<NSString*,id> *_Nonnull)configuration parameters:(NSDictionary<NSString*,id> *_Nullable)parameters
Discussion
returns: Built URLRequest that can be used to fetch the playlist.
Declared In
BrightcovePlayerSDK-Swift.h