NativeAd.UnconfirmedClickListener

public static interface NativeAd.UnconfirmedClickListener

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

Public Method Summary

abstract void
onUnconfirmedClickCancelled()
Called after onUnconfirmedClickReceived(String) when the user rejects an unconfirmed click.
abstract void
onUnconfirmedClickReceived(String assetId)
Called when a native ad object receives an unconfirmed click.

Public Methods

public abstract void onUnconfirmedClickCancelled ()

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

public 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 NativeAdViewHolder.setClickConfirmingView(View) or NativeAdView.setClickConfirmingView(View) is visible).

Parameters
assetId ID of the asset that received the unconfirmed click.