ImpressionView | Button SDK for Android v7.0.0
ImpressionView
public class ImpressionView extends com.usebutton.sdk.impression.ImpressionView
Summary
Public Constructors
- ImpressionView(Context context)
- ImpressionView(Context context, AttributeSet attrs)
- ImpressionView(Context context, AttributeSet attrs, int defStyleAttr)
- ImpressionView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void configureWith( OfferDetails offerDetails): Configure this ImpressionView with the offer details to be tracked when this view meets the requirements of a Viewable Impression.
CreativeType getCreativeType: Returns the creative type of the offer associated with this impression view.
OfferDetails getOfferDetails: The details of the displayed offer.
String getOfferId: Deprecated. Please retrieve offer details via
getOfferDetails().String getUrl: Deprecated. Please retrieve offer details via
getOfferDetails().float getVisibleRate: Deprecated. Please retrieve offer details via
getOfferDetails().VisibleRateType getVisibleRateType: Deprecated. Please retrieve offer details via
getOfferDetails().abstract void setClipboard( String label, String data)
void setCreativeType( CreativeType creativeType)
abstract void showDebugDetailsDialog( String state, String impressionId, String offerId, String rate, String rateType, String creativeType, String url)
void track( String url, VisibleRateType visibleRateType, float visibleRate): Deprecated. Please configure the impression view via
configureWith(OfferDetails).void track( String url, VisibleRateType visibleRateType, float visibleRate, String offerId): Deprecated. Please configure the impression view via
configureWith(OfferDetails).