ImpressionView Class Reference

ImpressionView

Undocumented

creativeType

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.

Declaration

creativeTypeString

Undocumented

Declaration

offerDetails

The details of the displayed offer—tracked when this view meets the requirements of a Viewable Impression.

Declaration

init(creativeType:)

The initializer to be used when creating an impression view programmatically.

Declaration

Parameters

creativeType The BTNCreativeType value of the underlying offer.

configure(with:)

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

Declaration

Parameters

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