Interface POBNativeAdViewListener

  • All Implemented Interfaces:

    
    public interface POBNativeAdViewListener
    
                        

    Listener to give callbacks from POBNativeAdView, related to adView impression, clicks, assets clicks etc.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onRecordImpression(@NonNull() View adView) Notify the POBNativeAdView is attached to view and the impression is occurred.
      abstract void onRecordClick(@NonNull() View adView) Notify the POBNativeAdView is clicked.
      abstract void onAssetClicked(@NonNull() View adView, int assetId) Notify the assets with certain Id in is clicked.
      abstract void onNonAssetClicked(@NonNull() View nonAssetView, @NonNull() String id) Notify the non-asset with certain id that got clicked.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 View
        assetId - 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 event
        id - id of the view which is clicked