AdUrlLoadingListener
package com.intowow.sdk
public interface AdUrlLoadingListener
This interface can be used to handle the ad engage event by App. If you set this interface to SDK by calling I2WAPI.setAdUrlLoadingListener(Context context, AdUrlLoadingListener listener)
, then it would be saved as a WeakReference
, so App should maintain this interface life cycle by self.
Public methods
boolean
shouldOverrideUrlLoading(String url) SDK would use this interface to notify App that the ad has been engaged. True if the host application wants to leave the current engage event and handle the url itself, otherwise return false.
Public methods
shouldOverrideUrlLoading
boolean shouldOverrideUrlLoading(String url)
SDK would use this interface to notify App that the ad has been engaged. True if the host application wants to leave the current engage event and handle the url itself, otherwise return false.
Parameters
url
String: The engage url.
Returns
boolean
True if the host application wants to leave the current engage event and handle the url itself, otherwise return false.
Last updated