Interface NativeAd.NativeAdChoicesOptionListener

Enclosing class:
NativeAd

public static interface NativeAd.NativeAdChoicesOptionListener
  • 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 NativeAd ad)
      Calls if shouldCloseAutomatically() returned true.
      Parameters:
      ad - Instance of INativeAd which was closed automatically.
    • closeIfAutomaticallyDisabled

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