BCOVSource Class Reference

Inherits from NSObject
Conforms to BCOVSourceProtocol
NSCopying
NSMutableCopying
Declared in BrightcovePlayerSDK-Swift.h

Overview

Implementation of BCOVSourceProtocol.

  URLSchemeHTTP

The URL scheme for HTTP.

@property (nonatomic, class, readonly, copy) NSString *URLSchemeHTTP

Discussion

The URL scheme for HTTP.

Declared In

BrightcovePlayerSDK-Swift.h

+ URLSchemeHTTP

+ (NSString *_Nonnull)URLSchemeHTTP

  URLSchemeHTTPS

The URL scheme for HTTPS.

@property (nonatomic, class, readonly, copy) NSString *URLSchemeHTTPS

Discussion

The URL scheme for HTTPS.

Declared In

BrightcovePlayerSDK-Swift.h

+ URLSchemeHTTPS

+ (NSString *_Nonnull)URLSchemeHTTPS

  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

+ DeliveryHLS

+ (NSString *_Nonnull)DeliveryHLS

  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

+ DeliveryMP4

+ (NSString *_Nonnull)DeliveryMP4

  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

+ DeliveryDASH

+ (NSString *_Nonnull)DeliveryDASH

  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

+ DeliveryOnce

+ (NSString *_Nonnull)DeliveryOnce

  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

+ DeliveryBoltSSAI

+ (NSString *_Nonnull)DeliveryBoltSSAI

  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

+ PropertyKeySystems

+ (NSString *_Nonnull)PropertyKeySystems

  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

+ PropertyFairPlayV1

+ (NSString *_Nonnull)PropertyFairPlayV1

  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

+ PropertyKeyRequestURL

+ (NSString *_Nonnull)PropertyKeyRequestURL

  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

+ PropertyKeyRequestURLs

+ (NSString *_Nonnull)PropertyKeyRequestURLs

  PropertyKeyEXTXVersion

@property (nonatomic, class, readonly, copy) NSString *PropertyKeyEXTXVersion

+ PropertyKeyEXTXVersion

+ (NSString *_Nonnull)PropertyKeyEXTXVersion

  PropertyKeyType

@property (nonatomic, class, readonly, copy) NSString *PropertyKeyType

+ PropertyKeyType

+ (NSString *_Nonnull)PropertyKeyType

  PropertyKeyVMAP

@property (nonatomic, class, readonly, copy) NSString *PropertyKeyVMAP

+ PropertyKeyVMAP

+ (NSString *_Nonnull)PropertyKeyVMAP

  PropertyKeyAuthToken

@property (nonatomic, class, readonly, copy) NSString *PropertyKeyAuthToken

+ PropertyKeyAuthToken

+ (NSString *_Nonnull)PropertyKeyAuthToken

– 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

– init

- (nonnull instancetype)init

– isEqual:

- (BOOL)isEqual:(id _Nullable)object

  description

@property (nonatomic, readonly, copy) NSString *description

  hash

@property (nonatomic, readonly) NSUInteger hash

– copyWithZone:

- (id _Nonnull)copyWithZone:(struct _NSZone *_Nullable)zone

– mutableCopyWithZone:

- (id _Nonnull)mutableCopyWithZone:(struct _NSZone *_Nullable)zone

  url

@property (nonatomic, readonly, copy) NSURL *url

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