using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudStorage { public class UploadTask_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.storage.core.UploadTask"; } public class UploadTask :HmsClass { public UploadTask (): base() { } public bool resume() { return Call("resume"); } public void onPaused() { Call("onPaused"); } public StorageTask addOnCanceledListener(Activity arg0, OnCanceledListener arg1) { return Call("addOnCanceledListener", arg0, arg1); } public StorageTask addOnCanceledListener(Executor arg0, OnCanceledListener arg1) { return Call("addOnCanceledListener", arg0, arg1); } public StorageTask addOnCanceledListener(OnCanceledListener arg0) { return Call("addOnCanceledListener", arg0); } public StorageTask addOnCompleteListener(OnCompleteListener arg0) { return Call("addOnCompleteListener", arg0); } public StorageTask addOnCompleteListener(Activity arg0, OnCompleteListener arg1) { return Call("addOnCompleteListener", arg0, arg1); } public StorageTask addOnCompleteListener(Executor arg0, OnCompleteListener arg1) { return Call("addOnCompleteListener", arg0, arg1); } public StorageTask addOnFailureListener(Executor arg0, OnFailureListener arg1) { return Call("addOnFailureListener", arg0, arg1); } public StorageTask addOnFailureListener(Activity arg0, OnFailureListener arg1) { return Call("addOnFailureListener", arg0, arg1); } public StorageTask addOnFailureListener(OnFailureListener arg0) { return Call("addOnFailureListener", arg0); } public StorageTask addOnSuccessListener(Activity arg0, OnSuccessListener arg1) { return Call("addOnSuccessListener", arg0, arg1); } public StorageTask addOnSuccessListener(OnSuccessListener arg0) { return Call("addOnSuccessListener", arg0); } public StorageTask addOnSuccessListener(Executor arg0, OnSuccessListener arg1) { return Call("addOnSuccessListener", arg0, arg1); } public StorageTask addOnPausedListener(Executor arg0, OnPausedListener arg1) { return Call("addOnPausedListener", arg0, arg1); } public StorageTask addOnPausedListener(Activity arg0, OnPausedListener arg1) { return Call("addOnPausedListener", arg0, arg1); } public StorageTask addOnPausedListener(OnPausedListener arg0) { return Call("addOnPausedListener", arg0); } public StorageTask addOnProgressListener(Executor arg0, OnProgressListener arg1) { return Call("addOnProgressListener", arg0, arg1); } public StorageTask addOnProgressListener(OnProgressListener arg0) { return Call("addOnProgressListener", arg0); } public StorageTask addOnProgressListener(Activity arg0, OnProgressListener arg1) { return Call("addOnProgressListener", arg0, arg1); } public Task continueWithTask(Continuation arg0) { return Call("continueWithTask", arg0); } public Task continueWithTask(Executor arg0, Continuation arg1) { return Call("continueWithTask", arg0, arg1); } public Task continueWithTask(ExecuteResult arg0) { return Call("continueWithTask", arg0); } public Task continueWith(Executor arg0, Continuation arg1) { return Call("continueWith", arg0, arg1); } public Task continueWith(Continuation arg0) { return Call("continueWith", arg0); } public Task onSuccessTask(Executor arg0, SuccessContinuation arg1) { return Call("onSuccessTask", arg0, arg1); } public Task onSuccessTask(SuccessContinuation arg0) { return Call("onSuccessTask", arg0); } public bool cancel() { return Call("cancel"); } public bool pause() { return Call("pause"); } public bool isCanceled() { return Call("isCanceled"); } public bool isComplete() { return Call("isComplete"); } public bool isSuccessful() { return Call("isSuccessful"); } public bool isInProgress() { return Call("isInProgress"); } public bool isPaused() { return Call("isPaused"); } public StorageTask.ErrorResult getResult() { return Call("getResult"); } public void setResult(AndroidJavaObject arg0) { Call("setResult", arg0); } public StorageTask.ErrorResult getTimePointState() { return Call("getTimePointState"); } public void setException(Exception arg0) { Call("setException", arg0); } public Exception getException() { return Call("getException"); } public AndroidJavaObject getResultThrowException(AndroidJavaClass arg0) { return Call("getResultThrowException", arg0); } public StorageTask removeOnCanceledListener(OnCanceledListener arg0) { return Call("removeOnCanceledListener", arg0); } public StorageTask removeOnCompleteListener(OnCompleteListener arg0) { return Call("removeOnCompleteListener", arg0); } public StorageTask removeOnFailureListener(OnFailureListener arg0) { return Call("removeOnFailureListener", arg0); } public StorageTask removeOnSuccessListener(OnSuccessListener arg0) { return Call("removeOnSuccessListener", arg0); } public StorageTask removeOnPausedListener(OnPausedListener arg0) { return Call("removeOnPausedListener", arg0); } public StorageTask removeOnProgressListener(OnProgressListener arg0) { return Call("removeOnProgressListener", arg0); } public class UploadResult_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.storage.core.UploadTask$UploadResult"; } public class UploadResult :HmsClass { public UploadResult (): base() { } public long getBytesTransferred() { return Call("getBytesTransferred"); } public long getTotalByteCount() { return Call("getTotalByteCount"); } public FileMetadata getMetadata() { return Call("getMetadata"); } } } }