Blame view

C5/app/src/main/java/com/sunvote/xpadcomm/FileReciverInterface.java 700 Bytes
fac86401   孙向锦   初始化C5 Vote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  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();
  
  }