using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudStorage { public class StreamDownloadTask_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.storage.core.StreamDownloadTask"; } public class StreamDownloadTask :HmsClass { public StreamDownloadTask (): base() { } public class StreamHandlerData : IHmsBaseListener { public string name => "com.huawei.agconnect.cloud.storage.core.StreamDownloadTask$StreamHandler"; public string buildName => ""; } public class StreamHandler : HmsListener { public virtual void readStream(StreamDownloadResult arg0, InputStream arg1) { Call("readStream", arg0, arg1); } public void readStream(AndroidJavaObject arg0, AndroidJavaObject arg1){ readStream(HmsUtil.GetHmsBase(arg0), HmsUtil.GetHmsBase(arg1)); } } public class StreamDownloadResult_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.storage.core.StreamDownloadTask$StreamDownloadResult"; } public class StreamDownloadResult :HmsClass { public StreamDownloadResult (): base() { } public long getBytesTransferred() { return Call("getBytesTransferred"); } public long getTotalByteCount() { return Call("getTotalByteCount"); } public InputStream getStream() { return Call("getStream"); } } } }