T - public interface ResultCallback<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
失败
|
static int |
SUCCESS
成功
|
| Modifier and Type | Method and Description |
|---|---|
void |
onRusult(int error,
T data)
当有结果时触发(成功或失败)
|
static final int SUCCESS
static final int ERROR
void onRusult(int error,
T data)
error - 错误码data - 结果