接口 DownloadListener


public interface DownloadListener
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onDownloadFail(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
     
    void
    onDownloadFinish(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
     
    void
    onDownloadPause(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
     
    void
    onDownloadStart(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
     
    void
    onDownloadUpdate(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName, int progress)
     
    void
    onInstalled(com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
     
  • 方法详细资料

    • onDownloadStart

      void onDownloadStart(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
    • onDownloadUpdate

      void onDownloadUpdate(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName, int progress)
    • onDownloadPause

      void onDownloadPause(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
    • onDownloadFinish

      void onDownloadFinish(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
    • onDownloadFail

      void onDownloadFail(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)
    • onInstalled

      void onInstalled(@Nullable com.tradplus.ads.base.bean.TPAdInfo tpAdInfo, long totalBytes, long currBytes, String fileName, String appName)