BMPPlayerFactory


@interface BMPPlayerFactory : NSObject

Factory to create a Player instance.

  • Returns the player SDK version number.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) NSString *_Nonnull sdkVersion;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;
  • Creates a player instance configured via the provided PlayerConfig.

    Declaration

    Objective-C

    + (nonnull id<BMPPlayer>)createWithPlayerConfig:
        (nonnull BMPPlayerConfig *)playerConfig;
  • Creates a player instance with the default PlayerConfig.

    Declaration

    Objective-C

    + (nonnull id<BMPPlayer>)create;

Analytics

  • Creates a Player instance where Analytics is enabled and configured via the AnalyticsConfig.

    Declaration

    Objective-C

    + (nonnull id<BMPPlayer>)createWithAnalyticsConfig:
        (nonnull BMAAnalyticsConfig *)analyticsConfig;

    Swift

    class func create(with analyticsConfig: BMAAnalyticsConfig) -> Player
  • Undocumented

    Declaration

    Objective-C

    + (id<BMPPlayer>)createWithAnalyticsConfig:(BMAAnalyticsConfig *)analyticsConfig
                               defaultMetadata:(BMADefaultMetadata *)defaultMetadata;

    Swift

    class func create(with analyticsConfig: BMAAnalyticsConfig, defaultMetadata: BMADefaultMetadata) -> Player
  • Creates a Player instance where Analytics is enabled and configured via the provided PlayerConfig and the AnalyticsConfig.

    Declaration

    Objective-C

    + (nonnull id<BMPPlayer>)
        createWithPlayerConfig:(nonnull BMPPlayerConfig *)playerConfig
               analyticsConfig:(nonnull BMAAnalyticsConfig *)analyticsConfig;

    Swift

    class func create(with playerConfig: BMPPlayerConfig, analyticsConfig: BMAAnalyticsConfig) -> Player
  • Undocumented

    Declaration

    Objective-C

    + (id<BMPPlayer>)createWithPlayerConfig:(BMPPlayerConfig *)playerConfig
                            analyticsConfig:(BMAAnalyticsConfig *)analyticsConfig
                            defaultMetadata:(BMADefaultMetadata *)defaultMetadata;

    Swift

    class func create(with playerConfig: BMPPlayerConfig, analyticsConfig: BMAAnalyticsConfig, defaultMetadata: BMADefaultMetadata) -> Player