This commit is contained in:
yutou
2021-04-01 14:44:02 +08:00
parent 79a5c4ad89
commit ef87b719fd
218 changed files with 24011 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
package com.yutou.bilibili.interfaces;
public abstract class DownloadInterface {
public void onDownload(String file){};
public void onError(Exception e){};
}

View File

@@ -0,0 +1,18 @@
package com.yutou.bilibili.interfaces;
public interface NetworkInterface {
/**
* 请求成功
* @param data 请求参数
* @param state http状态
*/
void httpGetData(Object data, int state);
/**
* 请求异常
* @param e 异常
*/
void httpError(Exception e);
void onCookie(String cookie);
}