BMPBitmovinPlayer
Objective-C
@interface BMPBitmovinPlayer
: NSObject <BMPPlayerAPI, BMPPlayerEventHandler, BMPRemoteControlAPI>
Swift
class Player : NSObject, PlayerAPI, PlayerEventHandler, BMPRemoteControlAPI
This class represents the player itself. It implements the BMPPlayerAPI and BMPRemoteControlAPI which can be used to control the player. It also implements the BMPPlayerEventHandler interface which enables adding and removing of event listeners to this player instance. This player does not come with an UI, it represents only the player logic. If you wish to use the player along with an UI please use BMPBitmovinPlayerView.
-
Deprecated
Use BMPPlayerFactory#create() instead. This will be removed in v3.
Undocumented
Declaration
Objective-C
- (instancetype)init __deprecated_msg("Use BMPPlayerFactory#create() instead. This will be removed in v3.");
Swift
init()
-
Deprecated
Use BMPPlayerFactory#create() instead. This will be removed in v3.
Undocumented
Declaration
Objective-C
+ (instancetype)new __deprecated_msg("Use BMPPlayerFactory#create() instead. This will be removed in v3.");
Swift
class func new() -> Self
-
Deprecated
Use BMPPlayerFactory#createWithPlayerConfiguration(playerConfiguration:) instead. This will be removed in v3.
Undocumented
Declaration
Objective-C
- (instancetype)initWithConfiguration:(BMPPlayerConfiguration *)configuration __deprecated_msg("Use BMPPlayerFactory#createWithPlayerConfiguration(playerConfiguration:) instead. This will be removed in v3.");
Swift
init(configuration: PlayerConfiguration)