| java.lang.Object | ||
| ↳ | ||
| ↳ | com.usebutton.sdk.impression.ImpressionView | |
| 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() | ||||||||||
| OfferDetails |
getOfferDetails()
The details of the displayed offer.
| ||||||||||
| String |
getOfferId()
This method is deprecated.
Please retrieve offer details via
getOfferDetails().
| ||||||||||
| String |
getUrl()
This method is deprecated.
Please retrieve offer details via
getOfferDetails().
| ||||||||||
| float |
getVisibleRate()
This method is deprecated.
Please retrieve offer details via
getOfferDetails().
| ||||||||||
| VisibleRateType |
getVisibleRateType()
This method is 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)
This method is deprecated.
Please configure the impression view via
configureWith(OfferDetails).
| ||||||||||
| void |
track(String url, VisibleRateType visibleRateType, float visibleRate, String offerId)
This method is deprecated.
Please configure the impression view via
configureWith(OfferDetails).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Configure this ImpressionView with the offer details to be tracked when this view meets the requirements of a Viewable Impression.
| offerDetails | the details of the offer |
|---|
The details of the displayed offer. These details are tracked when this view meets the requirements of a Viewable Impression.
This method is deprecated.
Please retrieve offer details via getOfferDetails().
This method is deprecated.
Please retrieve offer details via getOfferDetails().
This method is deprecated.
Please retrieve offer details via getOfferDetails().
| creativeType | creative type of the offer associated with this impression view |
|---|
This method is deprecated.
Please configure the impression view via configureWith(OfferDetails).
Track the impression view
| url | The new url of the served offer |
|---|---|
| visibleRateType | The new visibleRateType of the served offer |
| visibleRate | The new visibleRate of the served offer |
This method is deprecated.
Please configure the impression view via configureWith(OfferDetails).
Track the impression view
| url | The new url of the served offer |
|---|---|
| visibleRateType | The new visibleRateType of the served offer |
| visibleRate | The new visibleRate of the served offer |
| offerId | The (optional) new offerId of the served offer |