BMPPlayerEventHandler
Objective-C
@protocol BMPPlayerEventHandler <NSObject>
Swift
protocol PlayerEventHandler : NSObjectProtocol
Manages listeners to specific PlayerEvents and notifies those listeners when such an event is being
emitted.
Listeners need to conform to the PlayerListener protocol.
See PlayerListener about possible event method implementations.
-
Adds a
PlayerEventlistener.Declaration
Objective-C
- (void)addPlayerListener:(nonnull id<BMPPlayerListener>)listener;Parameters
listenerThe event listener to be added.
-
Removes a
PlayerEventlistener.Declaration
Objective-C
- (void)removePlayerListener:(nonnull id<BMPPlayerListener>)listener;Parameters
listenerThe event listener to be removed.
BMPPlayerEventHandler Protocol Reference