Protocols

The following protocols are available globally.

  • Listener protocol which can be used to listen to events of the BMPBitmovinCastManager.

    See more

    Declaration

    Objective-C

    @protocol BMPBitmovinCastManagerListener <NSObject>

    Swift

    protocol BitmovinCastManagerListener : NSObjectProtocol
  • A BMPFullscreenHandler implementation can be set on a BMPBitmovinPlayerView using its fullscreenHandler property. A BMPFullscreenHandler acts as a delegate for handling the fullscreen related behaviour of the player view.

    See more

    Declaration

    Objective-C

    @protocol BMPFullscreenHandler <NSObject>

    Swift

    protocol FullscreenHandler : NSObjectProtocol
  • Provides methods to serialize objects to JSON strings.

    See more

    Declaration

    Objective-C

    @protocol BMPJsonable <NSObject>

    Swift

    protocol Jsonable : NSObjectProtocol
  • Defines the public API of the BitmovinPlayer. See the documentation of each single API method for further information. All calls to the public player API must be done from the main thread. Calling API methods from multiple threads concurrently is not guaranteed to result in consistent and stable behavior.

    See more

    Declaration

    Objective-C

    @protocol BMPPlayerAPI

    Swift

    protocol PlayerAPI
  • Handles adding and removing of event listeners.

    See more

    Declaration

    Objective-C

    @protocol BMPPlayerEventHandler <NSObject>

    Swift

    protocol PlayerEventHandler : NSObjectProtocol
  • Defines listener methods for all events available for the BitmovinPlayer. See the documentation of the single listener methods for further information.

    See more

    Declaration

    Objective-C

    @protocol BMPPlayerListener <NSObject>

    Swift

    protocol PlayerListener : NSObjectProtocol
  • Can be used to change request parameters before a request is made.

    See more

    Declaration

    Objective-C

    @protocol BMPPreprocessHttpRequestDelegate <NSObject>

    Swift

    protocol PreprocessHttpRequestDelegate : NSObjectProtocol
  • API methods related to casting.

    See more

    Declaration

    Objective-C

    @protocol BMPRemoteControlAPI <NSObject>

    Swift

    protocol BMPRemoteControlAPI : NSObjectProtocol
  • Enables external control over the associated BMPSubtitleTrack

    See more

    Declaration

    Objective-C

    @protocol BMPSubtitleTrackController <NSObject>

    Swift

    protocol SubtitleTrackController : NSObjectProtocol
  • API methods related to the user interface.

    See more

    Declaration

    Objective-C

    @protocol BMPUserInterfaceAPI <NSObject>

    Swift

    protocol UserInterfaceAPI : NSObjectProtocol
  • Handles adding and removing of event listeners.

    See more

    Declaration

    Objective-C

    @protocol BMPUserInterfaceEventHandler <NSObject>

    Swift

    protocol UserInterfaceEventHandler : NSObjectProtocol
  • Defines listener methods for all events available for the BitmovinPlayerView. See the documentation of the single listener methods for further information.

    See more

    Declaration

    Objective-C

    @protocol BMPUserInterfaceListener <NSObject>

    Swift

    protocol UserInterfaceListener : NSObjectProtocol