BannerEventHandler

@objc
public protocol BannerEventHandler : PBMPrimaryAdRequesterProtocol

A protocol for handling events related to banner ads in the PBM SDK.

This protocol defines methods and properties for managing events associated with banner ads, including loading events, user interactions, and ad sizes. Implementing this protocol allows for custom handling of these events within the PBM SDK.

  • Delegate for custom event handler to inform the PBM SDK about the events related to the ad server communication.

    Declaration

    Swift

    weak var loadingDelegate: BannerEventLoadingDelegate? { get set }
  • Delegate for custom event handler to inform the PBM SDK about the events related to the user’s interaction with the ad.

    Declaration

    Swift

    weak var interactionDelegate: BannerEventInteractionDelegate? { get set }
  • The array of the CGRect entries for each valid ad sizes. The first size is treated as a frame for related ad unit.

    Declaration

    Swift

    var adSizes: [CGSize] { get }
  • Undocumented

    Declaration

    Swift

    func trackImpression()