BCOVSource Class Reference
Inherits from | NSObject |
---|---|
Conforms to | BCOVSourceProtocol NSCopying NSMutableCopying |
Declared in | BrightcovePlayerSDK-Swift.h |
URLSchemeHTTP
The URL scheme for HTTP.
@property (nonatomic, class, readonly, copy) NSString *URLSchemeHTTP
Discussion
The URL scheme for HTTP.
Declared In
BrightcovePlayerSDK-Swift.h
URLSchemeHTTPS
The URL scheme for HTTPS.
@property (nonatomic, class, readonly, copy) NSString *URLSchemeHTTPS
Discussion
The URL scheme for HTTPS.
Declared In
BrightcovePlayerSDK-Swift.h
DeliveryHLS
The delivery method for HLS (HTTP Live Streaming) media.
@property (nonatomic, class, readonly, copy) NSString *DeliveryHLS
Discussion
The delivery method for HLS (HTTP Live Streaming) media.
Declared In
BrightcovePlayerSDK-Swift.h
DeliveryMP4
The delivery method for MP4 (typically progressive download) media.
@property (nonatomic, class, readonly, copy) NSString *DeliveryMP4
Discussion
The delivery method for MP4 (typically progressive download) media.
Declared In
BrightcovePlayerSDK-Swift.h
DeliveryDASH
The delivery method for DASH media. DASH is not a supported playback format on iOS. This constant can help you identify DASH sources if you need to parse JSON responses from the Playback API manually.
@property (nonatomic, class, readonly, copy) NSString *DeliveryDASH
Discussion
The delivery method for DASH media. DASH is not a supported playback format on iOS. This constant can help you identify DASH sources if you need to parse JSON responses from the Playback API manually.
Declared In
BrightcovePlayerSDK-Swift.h
DeliveryOnce
The delivery method for Once media.
@property (nonatomic, class, readonly, copy) NSString *DeliveryOnce
Discussion
The delivery method for Once media.
Declared In
BrightcovePlayerSDK-Swift.h
DeliveryBoltSSAI
The delivery method for Bolt + SSAI.
@property (nonatomic, class, readonly, copy) NSString *DeliveryBoltSSAI
Discussion
The delivery method for Bolt + SSAI.
Declared In
BrightcovePlayerSDK-Swift.h
PropertyKeySystems
The key used in the source properties to declare the DRM type of this source.
@property (nonatomic, class, readonly, copy) NSString *PropertyKeySystems
Discussion
The key used in the source properties to declare the DRM type of this source.
Declared In
BrightcovePlayerSDK-Swift.h
PropertyFairPlayV1
The key system used by a FairPlay source, if retrieved through Brightcove Player API. BCOVSource.properties: … key_systems: { “com.apple.fps.1_0”: { “key_request_url”: “https://fps.brightcove.com/v1/fairplaysession” } }
@property (nonatomic, class, readonly, copy) NSString *PropertyFairPlayV1
Discussion
The key system used by a FairPlay source, if retrieved through Brightcove Player API. BCOVSource.properties: … key_systems: { “com.apple.fps.1_0”: { “key_request_url”: “https://fps.brightcove.com/v1/fairplaysession” } }
Declared In
BrightcovePlayerSDK-Swift.h
PropertyKeyRequestURL
The key for the key request URL used by a FairPlay source, if retrieved through Brightcove Player API.
@property (nonatomic, class, readonly, copy) NSString *PropertyKeyRequestURL
Discussion
The key for the key request URL used by a FairPlay source, if retrieved through Brightcove Player API.
Declared In
BrightcovePlayerSDK-Swift.h
PropertyKeyRequestURLs
The key for the key request URLs used by a FairPlay source, if retrieved through Brightcove Player API.
@property (nonatomic, class, readonly, copy) NSString *PropertyKeyRequestURLs
Discussion
The key for the key request URLs used by a FairPlay source, if retrieved through Brightcove Player API.
Declared In
BrightcovePlayerSDK-Swift.h
PropertyKeyEXTXVersion
@property (nonatomic, class, readonly, copy) NSString *PropertyKeyEXTXVersion
– initWithURL:
returns: A new source with the specified URL
- (nonnull instancetype)initWithURL:(NSURL *_Nullable)url
Discussion
returns: A new source with the specified URL
Declared In
BrightcovePlayerSDK-Swift.h
– initWithURL:deliveryMethod:properties:
returns: A new source with the specified URL, delivery method, and properties.
- (nonnull instancetype)initWithURL:(NSURL *_Nullable)url deliveryMethod:(NSString *_Nullable)deliveryMethod properties:(NSDictionary *_Nullable)properties
Discussion
returns: A new source with the specified URL, delivery method, and properties.
Declared In
BrightcovePlayerSDK-Swift.h
– isEqualToSource:
returns:
Whether source
is equivalent to this instance.
- (BOOL)isEqualToSource:(BCOVSource *_Nullable)source
Discussion
returns:
Whether source
is equivalent to this instance.
Declared In
BrightcovePlayerSDK-Swift.h
deliveryMethod
@property (nonatomic, readonly, copy) NSString *deliveryMethod
Declared In
BrightcovePlayerSDK-Swift.h
properties
@property (nonatomic, readonly, copy) NSDictionary *properties
Declared In
BrightcovePlayerSDK-Swift.h
– update:
returns:
The copy of this source modified by updateBlock
.
- (BCOVSource *_Nonnull)update:(SWIFT_NOESCAPE void ( ^ _Nonnull ) ( BCOVMutableSource *_Nonnull ))updateBlock
Discussion
returns:
The copy of this source modified by updateBlock
.
Declared In
BrightcovePlayerSDK-Swift.h