AdController

protocol AdController : AnyObject

Allows controlling an ad (e.g. starting, stopping, volume)

  • Delegate to receive events / errors for the ad

    Declaration

    Swift

    var delegate: AdControllerDelegate? { get set }
  • Friendly obstructions (used for OM)

    Declaration

    Swift

    var friendlyObstructions: [UIView]? { get }
  • Volume for the ad from 0-100

    Declaration

    Swift

    var volume: Int { get set }
  • Ad view for the controller

    Declaration

    Swift

    var adView: UIView? { get }
  • Duration of the ad

    Declaration

    Swift

    var adDuration: CGFloat { get }
  • Start the Nimbus ad

    Declaration

    Swift

    func start()
  • Stop the Nimbus ad

    Declaration

    Swift

    func stop()
  • Destroy the Nimbus ad

    Declaration

    Swift

    func destroy()