Interface NativeBannerAd.NativeBannerAdChoicesOptionListener

Enclosing class:
NativeBannerAd

public static interface NativeBannerAd.NativeBannerAdChoicesOptionListener
  • Method Details

    • shouldCloseAutomatically

      boolean shouldCloseAutomatically()
      Determines what SDK should do when selecting particular adchoices option.
      Returns:
      Boolean value which specifies should be ad closed or not.
    • onCloseAutomatically

      void onCloseAutomatically(@NonNull NativeBannerAd ad)
      Calls if shouldCloseAutomatically() returned true.
      Parameters:
      ad - Instance of NativeBannerAd which was closed automatically.
    • closeIfAutomaticallyDisabled

      void closeIfAutomaticallyDisabled(@NonNull NativeBannerAd ad)
      Calls if shouldCloseAutomatically() returned false.
      Parameters:
      ad - Instance of NativeBannerAd which have to be hidden.