BCOVPlayerSDKManager Class Reference

Inherits from NSObject
Declared in BrightcovePlayerSDK-Swift.h

Overview

The Player SDK Manager is a singleton instance that acts as a factory, central registry, and diagnostics center in the Brightcove Player SDK for iOS. After obtaining an instance of the Manager, use it to obtain instances of other objects from the Player SDK ecosystem.

Other Methods

+ sharedManager

returns: The Player SDK Manager singleton.

+ (BCOVPlayerSDKManager *_Nonnull)sharedManager

Discussion

returns: The Player SDK Manager singleton.

Declared In

BrightcovePlayerSDK-Swift.h

+ sharedManagerWithOptions:

returns: The Player SDK Manager singleton.

+ (BCOVPlayerSDKManager *_Nonnull)sharedManagerWithOptions:(NSDictionary *_Nullable)options

Discussion

returns: The Player SDK Manager singleton.

Declared In

BrightcovePlayerSDK-Swift.h

+ SDKVersion

returns: The SDK version

+ (NSString *_Nonnull)SDKVersion

Discussion

returns: The SDK version

Declared In

BrightcovePlayerSDK-Swift.h

  sessionID

sessionID is a unique identifier associated with this instance of the application. This identifier is sent along with other analytics data to the Brightcove metrics servers. The sessionID can be useful when trying to track down problems with particular playback issues. For example, if you detect playback issues, you can send the sessionID and the video ID to your own error tracking server, and then report those two values to Brightcove service engineers to track down the source of the problem in the server logs.

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

Discussion

sessionID is a unique identifier associated with this instance of the application. This identifier is sent along with other analytics data to the Brightcove metrics servers. The sessionID can be useful when trying to track down problems with particular playback issues. For example, if you detect playback issues, you can send the sessionID and the video ID to your own error tracking server, and then report those two values to Brightcove service engineers to track down the source of the problem in the server logs.

Declared In

BrightcovePlayerSDK-Swift.h

– createPlaybackController

returns: A playback controller.

- (id<BCOVPlaybackController> _Nonnull)createPlaybackController

Discussion

returns: A playback controller.

Declared In

BrightcovePlayerSDK-Swift.h

– createPlaybackControllerWithViewStrategy:

returns: A playback controller configured with the specified strategy.

- (id<BCOVPlaybackController> _Nonnull)createPlaybackControllerWithViewStrategy:(BCOVPlaybackControllerViewStrategy _Nullable)viewStrategy

Discussion

returns: A playback controller configured with the specified strategy.

Declared In

BrightcovePlayerSDK-Swift.h

– createPlaybackControllerWithSessionProvider:viewStrategy:

returns: A playback controller configured with the specified parameters.

- (id<BCOVPlaybackController> _Nonnull)createPlaybackControllerWithSessionProvider:(id<BCOVPlaybackSessionProvider> _Nullable)provider viewStrategy:(BCOVPlaybackControllerViewStrategy _Nullable)viewStrategy

Discussion

returns: A playback controller configured with the specified parameters.

Declared In

BrightcovePlayerSDK-Swift.h

– createBasicSessionProviderWithOptions:

returns: A basic playback session provider configured with the specified options.

- (id<BCOVPlaybackSessionProvider> _Nonnull)createBasicSessionProviderWithOptions:(BCOVBasicSessionProviderOptions *_Nullable)options

Discussion

returns: A basic playback session provider configured with the specified options.

Declared In

BrightcovePlayerSDK-Swift.h

– registerComponent:

- (void)registerComponent:(id<BCOVComponent> _Nonnull)component

– init

- (nonnull instancetype)init

+ new

+ (nonnull instancetype)new

SWIFT_EXTENSION Methods

– createSidecarSubtitlesPlaybackControllerWithViewStrategy:

returns: A new playback controller configured for sidecar subtitles playbacksessions.

- (id<BCOVPlaybackController> _Nonnull)createSidecarSubtitlesPlaybackControllerWithViewStrategy:(BCOVPlaybackControllerViewStrategy _Nullable)viewStrategy

Discussion

returns: A new playback controller configured for sidecar subtitles playbacksessions.

Declared In

BrightcovePlayerSDK-Swift.h

– createSidecarSubtitlesSessionProviderWithUpstreamSessionProvider:

returns: A new session provider with the specified parameters.

- (id<BCOVPlaybackSessionProvider> _Nonnull)createSidecarSubtitlesSessionProviderWithUpstreamSessionProvider:(id<BCOVPlaybackSessionProvider> _Nullable)provider

Discussion

returns: A new session provider with the specified parameters.

Declared In

BrightcovePlayerSDK-Swift.h

– createFairPlayPlaybackControllerWithAuthorizationProxy:

returns: A playback controller.

- (id<BCOVPlaybackController> _Nonnull)createFairPlayPlaybackControllerWithAuthorizationProxy:(id<BCOVFPSAuthorizationProxy> _Nonnull)proxy

Discussion

returns: A playback controller.

Declared In

BrightcovePlayerSDK-Swift.h

– createFairPlaySessionProviderWithAuthorizationProxy:upstreamSessionProvider:

returns: A session provider.

- (id<BCOVPlaybackSessionProvider> _Nonnull)createFairPlaySessionProviderWithAuthorizationProxy:(id<BCOVFPSAuthorizationProxy> _Nonnull)proxy upstreamSessionProvider:(id<BCOVPlaybackSessionProvider> _Nullable)provider

Discussion

returns: A session provider.

Declared In

BrightcovePlayerSDK-Swift.h

– createFairPlayPlaybackControllerWithApplicationCertificate:authorizationProxy:viewStrategy:

returns: A playback controller.

- (id<BCOVPlaybackController> _Nonnull)createFairPlayPlaybackControllerWithApplicationCertificate:(NSData *_Nullable)appCert authorizationProxy:(id<BCOVFPSAuthorizationProxy> _Nonnull)proxy viewStrategy:(BCOVPlaybackControllerViewStrategy _Nullable)viewStrategy

Discussion

returns: A playback controller.

Declared In

BrightcovePlayerSDK-Swift.h

– createFairPlaySessionProviderWithApplicationCertificate:authorizationProxy:upstreamSessionProvider:

returns: A session provider.

- (id<BCOVPlaybackSessionProvider> _Nonnull)createFairPlaySessionProviderWithApplicationCertificate:(NSData *_Nullable)appCert authorizationProxy:(id<BCOVFPSAuthorizationProxy> _Nonnull)proxy upstreamSessionProvider:(id<BCOVPlaybackSessionProvider> _Nullable)provider

Discussion

returns: A session provider.

Declared In

BrightcovePlayerSDK-Swift.h