BCOVGlobalConfiguration Class Reference

Inherits from NSObject
Declared in BCOVGlobalConfiguration.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.

+ new

BCOVGlobalConfiguration is a global singleton object. Reference it using:

+ (BCOVGlobalConfiguration *)new

Discussion

BCOVGlobalConfiguration is a global singleton object. Reference it using:

BCOVGlobalConfiguration *config = [BCOVGlobalConfiguration sharedConfig];

Declared In

BCOVGlobalConfiguration.h

– init

- (BCOVGlobalConfiguration *)init

+ sharedConfig

Returns the shared Global Configuration singleton.

+ (BCOVGlobalConfiguration *)sharedConfig

Discussion

Returns the shared Global Configuration singleton.

Declared In

BCOVGlobalConfiguration.h

  allowsCellularPlayback

Allow playback when device is on cellular data.

@property (nonatomic, readwrite) 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 = NO;

Default value is YES.

Declared In

BCOVGlobalConfiguration.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, nullable) 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

BCOVGlobalConfiguration.h