46 lines
872 B
Java
46 lines
872 B
Java
package com.mogo.cloud;
|
|
|
|
import android.content.Context;
|
|
|
|
import com.mogo.cloud.api.ITanluUploadCallback;
|
|
import com.mogo.cloud.bean.InformationBody;
|
|
|
|
/**
|
|
* @author lixiaopeng
|
|
* @description
|
|
* @since 2021/1/21
|
|
*/
|
|
public class UploadManager {
|
|
private static UploadManager sInstance;
|
|
private Context mContext;
|
|
|
|
private UploadManager (Context context) {
|
|
mContext = context;
|
|
}
|
|
|
|
public static UploadManager getInstance(Context context) {
|
|
if (sInstance == null) {
|
|
synchronized (UploadManager.class) {
|
|
sInstance = new UploadManager(context);
|
|
}
|
|
}
|
|
|
|
return sInstance;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param sn
|
|
* @param informationBody
|
|
* @param callback
|
|
*/
|
|
public void loadUpload(String sn, InformationBody informationBody, ITanluUploadCallback callback) {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|