您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
734 B
22 行
734 B
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.CloudStorage
|
|
{
|
|
public class HttpURLConnectionFactoryData : IHmsBaseListener
|
|
{
|
|
public string name => "com.huawei.agconnect.cloud.storage.core.net.connection.HttpURLConnectionFactory";
|
|
public string buildName => "";
|
|
}
|
|
public class HttpURLConnectionFactory : HmsListener<HttpURLConnectionFactoryData>
|
|
{
|
|
|
|
public virtual HttpURLConnection createConnection(URL arg0) {
|
|
return Call<HttpURLConnection>("createConnection", arg0);
|
|
}
|
|
|
|
public HttpURLConnection createConnection(AndroidJavaObject arg0){
|
|
return createConnection(HmsUtil.GetHmsBase<URL>(arg0));
|
|
}
|
|
}
|
|
}
|