InteractivityListener
The InteractivityListener
interface defines the methods used to retrieve information about interactive ads.
Functions
Called when there is an interactivity event with the current ad in the ad manager.
adBaseManager: the AdBaseManager that associated with this event
adData: the current ad in the adBaseManager
event: the interactivity event type
This callback is triggered immediately after the coupon was downloaded (the download of the coupon may be triggered by a shake event). Give the host application a chance to take over the control for presenting coupons This callback is always triggered on the main thread.
adBaseManager: the AdBaseManager that is associated with this coupon
couponUri: the Uri for the local file that contains the coupon
returns
true if the host application wants to present itself the coupon, otherwise return false and in this case the coupon will be presented by the SDK.
warning
Please take note that this callback is triggered only for interactive ads of type 'Download Coupon'.