BCOVGlobalConfiguration Class Reference

Inherits from NSObject
Declared in BrightcovePlayerSDK-Swift.h

Overview

The Global Configuration contains properties which are utilized throughout the Native Player SDK. If your app requires custom configuration, set the necessary properties of the Global Configuration BEFORE using any of the services of the Native Player SDK. BCOVGlobalConfiguration is a global singleton object. Reference it using: let config = BCOVGlobalConfiguration.shareConfig

  sharedConfig

Returns the shared Global Configuration singleton.

@property (nonatomic, class, readonly, strong) BCOVGlobalConfiguration *sharedConfig

Discussion

Returns the shared Global Configuration singleton.

Declared In

BrightcovePlayerSDK-Swift.h

+ sharedConfig

+ (BCOVGlobalConfiguration *_Nonnull)sharedConfig

  allowsCellularPlayback

Allow playback when device is on cellular data. Changing this value during playback will not stop playback of the current video if the device changes over to cellular data. Example Usage: BCOVGlobalConfiguration.sharedConfig.allowsCellularPlayback = false; Default value is true.

@property (nonatomic) BOOL allowsCellularPlayback

Discussion

Allow playback when device is on cellular data. Changing this value during playback will not stop playback of the current video if the device changes over to cellular data. Example Usage: BCOVGlobalConfiguration.sharedConfig.allowsCellularPlayback = false; Default value is true.

Declared In

BrightcovePlayerSDK-Swift.h

  chinaProxyDomain

Sets a custom, fully qualified domain name (FQDN) for Catalog API, Metrics and Analytics collection services. This method is to be used specifically for reliable content delivery in China and requires particular account arrangements. Setting this property in any other situation will result in unknown behavior.

@property (nonatomic, copy) NSString *chinaProxyDomain

Discussion

Sets a custom, fully qualified domain name (FQDN) for Catalog API, Metrics and Analytics collection services. This method is to be used specifically for reliable content delivery in China and requires particular account arrangements. Setting this property in any other situation will result in unknown behavior.

Declared In

BrightcovePlayerSDK-Swift.h

– init

- (nonnull instancetype)init

+ new

+ (nonnull instancetype)new