Interface BaseAdListener

All Known Subinterfaces:
AppOpenAdListener, BannerAdListener, ContainerAdListener, DynamicAdListener, EventAdListener, InterstitialAdListener, NativeAdListener, RewardedAdListener, RewardedInterstitialAdListener

public interface BaseAdListener
An interface to provide basic ads functionality.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the context used by this listener.
    boolean
    This method will be called to detect if the ads are enabled for this listener.
  • Method Details

    • getAdContext

      @NonNull Context getAdContext()
      Returns the context used by this listener.
      Returns:
      The context used by this listener.
    • isAdEnabled

      boolean isAdEnabled()
      This method will be called to detect if the ads are enabled for this listener.
      Returns:
      true if the ads are enabled for this listener.