BTNImpressionView Class Reference
Inherits from | UIView |
---|---|
Conforms to | BTNImpressionViewDeprecations |
Declared in | BTNImpressionView.h |
creativeType
An enum value representing the creative type of the offer associated with this impression view.
@property (nonatomic, readwrite, assign) BTNCreativeType creativeType
Discussion
An enum value representing the creative type of the offer associated with this impression view.
Default is BTNCreativeTypeOther. The BTNImpressionView can either be initialized with a value or it can be set (as a string) in InterfaceBuilder.
See Also
Declared In
BTNImpressionView.h
offerDetails
The details of the displayed offer—tracked when this view meets the requirements of a Viewable Impression.
@property (nullable, nonatomic, readonly, strong) BTNOfferDetails *offerDetails
Discussion
The details of the displayed offer—tracked when this view meets the requirements of a Viewable Impression.
Declared In
BTNImpressionView.h
– initWithCreativeType:
The initializer to be used when creating an impression view programmatically.
- (instancetype)initWithCreativeType:(BTNCreativeType)creativeType
Parameters
creativeType |
The BTNCreativeType value of the underlying offer. |
---|
Discussion
The initializer to be used when creating an impression view programmatically.
Declared In
BTNImpressionView.h
– configureWithDetails:
Configure this ImpressionView with the offer details to be tracked when this view meets the requirements of a Viewable Impression.
- (void)configureWithDetails:(nullable id<BTNOfferDetails>)offerDetails
Parameters
offerDetails |
The details of the displayed offer (an OfferDetails instance or an object conforming to OfferDetailsProtocol). |
---|
Discussion
Configure this ImpressionView with the offer details to be tracked when this view meets the requirements of a Viewable Impression.
Declared In
BTNImpressionView.h