FileReciverInterface.java 700 Bytes
package com.sunvote.xpadcomm;

/**
 * Created by Elvis on 2017/12/25 16:56
 * Email:Eluis@psunsky.com
 * 版权所有:长沙中天电子设计开发有限公司
 * Description: 人大通用版XPadAppRD
 */
public interface FileReciverInterface {

    /**
     * 连接出错
     */
    void onConnectServerError();

    /**
     * 下载数据出错
     */
    void onDownloadDataError();

    /**
     * 数据百分比
     * @param percent 百分比
     */
    void onDownload(long percent);

    /**
     * 用户停止
     */
    void onDownloadUserStop();

    /**
     * 下载成功
     */
    void onDownloadSuccess();

    /**
     * 解压失败
     */
    void onUnzipError();

}