Sign in

RF / hucai · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • hucai
  • ..
  • download
  • DownloadCallback.java
  • 初步完成表单模板
    90c08cd6
    游杰 authored
    2019-11-11 15:36:08 +0800  
    Browse Code »
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);
}