Sign in

RF / tv · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • tv
  • ..
  • download
  • DownloadCallback.java
  • TV模板 第一次发布
    f4b90200
    游杰 authored
    2019-12-11 15:59:58 +0800  
    Browse File »
DownloadCallback.java 386 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package com.huaheng.download;

import java.io.File;

/**
 * Created by youjie on 2018/3/30.
 */

public interface DownloadCallback  {

    void onStart(String fileName);

    void onLoading(String fileName, int progress, boolean isDownloading);

    void onSuccess(String fileName, File result);

    void onError(String fileName, String msg);

    void onCancelled(String fileName);
}