BMPPlayerFactory

Objective-C


@interface BMPPlayerFactory : NSObject

Swift

class PlayerFactory : NSObject

Factory to create a Player instance.

  • 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;

    Swift

    class func create(playerConfig: PlayerConfig) -> Player
  • Creates a player instance with the default PlayerConfig.

    Declaration

    Objective-C

    + (nonnull id<BMPPlayer>)create;

    Swift

    class func create() -> Player