ImpressionView

class ImpressionView : UIView, BTNImpressionViewDeprecations

Undocumented

  • An enum value representing the creative type of the offer associated with this impression view.

    @discussion Default is BTNCreativeTypeOther. The BTNImpressionView can either be initialized with a value or it can be set (as a string) in InterfaceBuilder.

    See

    -initWithCreativeType:

    Declaration

    Swift

    var creativeType: BTNCreativeType { get set }
  • Undocumented

    Declaration

    Swift

    var creativeTypeString: String? { get set }
  • The details of the displayed offer—tracked when this view meets the requirements of a Viewable Impression.

    Declaration

    Swift

    var offerDetails: OfferDetails? { get }
  • The initializer to be used when creating an impression view programmatically.

    Declaration

    Swift

    init(creativeType: BTNCreativeType)

    Parameters

    creativeType

    The BTNCreativeType value of the underlying offer.

  • Configure this ImpressionView with the offer details to be tracked when this view meets the requirements of a Viewable Impression.

    Declaration

    Swift

    func configure(with offerDetails: (any OfferDetailsProtocol)?)

    Parameters

    offerDetails

    The details of the displayed offer (an OfferDetails instance or an object conforming to OfferDetailsProtocol).