类 AdShareMgr

java.lang.Object
com.tradplus.ads.mgr.AdShareMgr

public class AdShareMgr extends Object
  • 字段详细资料

  • 方法详细资料

    • getInstance

      public static AdShareMgr getInstance(String adUnitId)
    • loadShareId

      public void loadShareId(String type, String shareId, int requestSec)
    • loadSplashShareId

      public void loadSplashShareId(String type, @Nullable android.view.ViewGroup viewGroup, String shareId, int requestSec)
    • onDestroy

      public void onDestroy()
    • getShareUnitId

      @Nullable public String getShareUnitId()
    • getReadyAd

      @Nullable public com.tradplus.ads.core.cache.AdCache getReadyAd()
    • sortAdCacheToShow

      @Nullable public com.tradplus.ads.core.cache.AdCache sortAdCacheToShow()
    • loadSplashAd

      public void loadSplashAd(@Nullable android.view.ViewGroup viewGroup)
    • loadAd

      public void loadAd()
    • isReady

      public boolean isReady()
    • setInterstitialListener

      public void setInterstitialListener(@Nullable InterstitialAdListener adListener)
    • setNativeAdListener

      public void setNativeAdListener(@Nullable NativeAdListener adListener)
    • setRewardListener

      public void setRewardListener(RewardAdListener adListener)
    • setSplashListener

      public void setSplashListener(SplashAdListener adListener)
    • shouldCallLoaded

      public boolean shouldCallLoaded()
    • shouldCallFailed

      public boolean shouldCallFailed(com.tradplus.ads.base.bean.TPAdError tpAdError)