public class UploadService extends java.lang.Object implements CustomMultiPartEntity.ProgressListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadService.UploadServiceDelegate
Upload service callback interface used to notify uploading actions like status or progress
|
| Modifier and Type | Field and Description |
|---|---|
CustomMultiPartEntity |
iconMultipartEntity |
CustomMultiPartEntity |
multipartEntity |
org.apache.http.client.methods.HttpPost |
post |
UploadService.UploadServiceDelegate |
uploadServiceDelegate
Used to notify the status of the upload action
|
| Constructor and Description |
|---|
UploadService() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendBuild(java.lang.String filePath,
java.lang.String apiToken,
Binary binary,
java.lang.String appChanglog,
UploadService.UploadServiceDelegate delegate)
向FIR上传文件
|
void |
transferred(long num) |
public UploadService.UploadServiceDelegate uploadServiceDelegate
public CustomMultiPartEntity iconMultipartEntity
public CustomMultiPartEntity multipartEntity
public org.apache.http.client.methods.HttpPost post
public void sendBuild(java.lang.String filePath,
java.lang.String apiToken,
Binary binary,
java.lang.String appChanglog,
UploadService.UploadServiceDelegate delegate)
filePath - apiToken - binary - appChanglog - delegate - public void transferred(long num)
transferred in interface CustomMultiPartEntity.ProgressListener