Package com.pubmatic.sdk.nativead
Interface POBNativeAdViewListener
-
- All Implemented Interfaces:
public interface POBNativeAdViewListenerListener to give callbacks from POBNativeAdView, related to adView impression, clicks, assets clicks etc.
-
-
Method Summary
Modifier and Type Method Description abstract voidonRecordImpression(@NonNull() View adView)Notify the POBNativeAdView is attached to view and the impression is occurred. abstract voidonRecordClick(@NonNull() View adView)Notify the POBNativeAdView is clicked. abstract voidonAssetClicked(@NonNull() View adView, int assetId)Notify the assets with certain Id in is clicked. abstract voidonNonAssetClicked(@NonNull() View nonAssetView, @NonNull() String id)Notify the non-asset with certain id that got clicked. -
-
Method Detail
-
onRecordImpression
abstract void onRecordImpression(@NonNull() View adView)
Notify the POBNativeAdView is attached to view and the impression is occurred.
- Parameters:
adView- instance of ad view
-
onRecordClick
abstract void onRecordClick(@NonNull() View adView)
Notify the POBNativeAdView is clicked.
- Parameters:
adView- instance of ad View
-
onAssetClicked
abstract void onAssetClicked(@NonNull() View adView, int assetId)
Notify the assets with certain Id in is clicked.
- Parameters:
adView- instance of ad ViewassetId- Id of the asset which is clicked.
-
onNonAssetClicked
abstract void onNonAssetClicked(@NonNull() View nonAssetView, @NonNull() String id)
Notify the non-asset with certain id that got clicked.
- Parameters:
nonAssetView- that recorded click eventid- id of the view which is clicked
-
-
-
-