NativeAd.UnconfirmedClickListener

public interface NativeAd.UnconfirmedClickListener


A listener interface apps can use to receive unconfirmed click events when using the Confirmed Click feature.

Summary

Public methods

abstract void

Called after onUnconfirmedClickReceived when the user rejects an unconfirmed click.

abstract void

Called when a native ad object receives an unconfirmed click.

Public methods

onUnconfirmedClickCancelled

abstract void onUnconfirmedClickCancelled()

Called after onUnconfirmedClickReceived when the user rejects an unconfirmed click. Apps should update their ad presentation to return it to the original state.

onUnconfirmedClickReceived

abstract void onUnconfirmedClickReceived(String assetId)

Called when a native ad object receives an unconfirmed click. Apps are then responsible for updating their ad presentation to indicate that the user should confirm or reject the clickthrough (making sure the View set in setClickConfirmingView or setClickConfirmingView is visible).

Parameters
String assetId

ID of the asset that received the unconfirmed click.