ImaAdsManager

@objc(BMPImaAdsManager)
public protocol ImaAdsManager

The ImaAdsManager protocol can be used to interact with the underlying Google IMA SDK during ad playback

  • List of content time offsets at which ad breaks are scheduled. Array of values in seconds. Empty Array for single ads or if no ad breaks are scheduled.

    Declaration

    Swift

    var adCuePoints: [TimeInterval] { get }
  • Performs a clickthrough on the advertisement if the UI was successfully disabled by setting ImaAdvertisingConfig.preferredUiType to .disabled.

    Declaration

    Swift

    func clicked()
  • If an ad break is currently playing, discard it and resume content. Otherwise, ignore the next scheduled ad break.

    Declaration

    Swift

    func discardAdBreak()