Protocols

The following protocols are available globally.

  • Defines basic properties available for every ad type

    See more

    Declaration

    Objective-C

    @protocol BMPAd <NSObject, BMPJsonable>

    Swift

    protocol Ad : BMPJsonable
  • Contains information about an ad break.

    See more

    Declaration

    Objective-C

    @protocol BMPAdBreak <BMPAdConfig, BMPJsonable>

    Swift

    protocol AdBreak : AdConfig
  • Contains configuration options for an AdBreak.

    See

    BMPAdBreak
    See more

    Declaration

    Objective-C

    @protocol BMPAdBreakConfig <BMPAdTagConfig>

    Swift

    protocol AdBreakConfig : AdTagConfig
  • Contains the base configuration options for an ad.

    See more

    Declaration

    Objective-C

    @protocol BMPAdConfig <BMPJsonable>

    Swift

    protocol AdConfig : BMPJsonable
  • Holds various additional ad data.

    See

    ImaAdData for more information on what additional data is available when using the Google IMA SDK implementation.
    See more

    Declaration

    Objective-C

    @protocol BMPAdData <BMPJsonable>

    Swift

    protocol AdData : BMPJsonable
  • Contains configuration options for an AdTag.

    See

    BMPAdTag
    See more

    Declaration

    Objective-C

    @protocol BMPAdTagConfig <BMPAdConfig>

    Swift

    protocol AdTagConfig : AdConfig
  • 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
  • Provides methods to get the information about the buffer levels.

    See more

    Declaration

    Objective-C

    @protocol BMPBufferApi <NSObject>

    Swift

    protocol BufferApi : NSObjectProtocol
  • Methods for handling received messages from Bitmovin Web UI

    See more

    Declaration

    Objective-C

    @protocol BMPCustomMessageHandlerDelegate <NSObject>

    Swift

    protocol CustomMessageHandlerDelegate : 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
  • Contains IMA specific information about an AdBreak.

    See

    BMPAdBreak

    Declaration

    Objective-C

    @protocol BMPImaAdBreak <BMPAdBreak, BMPImaAdBreakConfig>

    Swift

    protocol ImaAdBreak : AdBreak, ImaAdBreakConfig
  • Contains IMA specific AdBreakConfig options.

    See

    BMPAdBreakConfig

    Declaration

    Objective-C

    @protocol BMPImaAdBreakConfig <BMPAdBreakConfig, BMPImaAdTagConfig>

    Swift

    protocol ImaAdBreakConfig : AdBreakConfig, ImaAdTagConfig
  • Holds additional ad data that’s available when using the Google IMA SDK implementation.

    See more

    Declaration

    Objective-C

    @protocol BMPImaAdData <BMPVastAdData>

    Swift

    protocol ImaAdData : VastAdData
  • Contains IMA specific AdTagConfig options.

    Declaration

    Objective-C

    @protocol BMPImaAdTagConfig <BMPAdTagConfig>

    Swift

    protocol ImaAdTagConfig : AdTagConfig
  • Provides methods to serialize objects to JSON strings.

    See more

    Declaration

    Objective-C

    @protocol BMPJsonable <NSObject>

    Swift

    protocol BMPJsonable : NSObjectProtocol
  • Defines a linear ad which requires the playback of the content to stop

    See more

    Declaration

    Objective-C

    @protocol BMPLinearAd <BMPAd>

    Swift

    protocol LinearAd : Ad
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol BMPMetadataEntry <NSObject>
    @property (nonatomic, readonly) BMPMetadataType metadataType;
    @end

    Swift

    protocol MetadataEntry : NSObjectProtocol
  • Protocol for listeners for the BMPOfflineManager.

    See more

    Declaration

    Objective-C

    @protocol BMPOfflineManagerListener <NSObject>

    Swift

    protocol OfflineManagerListener : NSObjectProtocol
  • Defines an ad which gets displayed during content playback

    Declaration

    Objective-C

    @protocol BMPOverlayAd <BMPAd>

    Swift

    protocol OverlayAd : Ad
  • 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 <NSObject>

    Swift

    protocol PlayerAPI : NSObjectProtocol
  • 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
  • Holds various additional ad data that’s available in the VAST response.

    See more

    Declaration

    Objective-C

    @protocol BMPVastAdData <BMPAdData>

    Swift

    protocol VastAdData : AdData
  • Protocol for delegate for the OfflineManager.

    See more

    Declaration

    Swift

    @objc(BMPOfflineManagerDelegate)
    public protocol OfflineManagerDelegate : NSObjectProtocol