public class AipEasyDL extends BaseClient
accessToken, aipKey, aipToken, appId, config, expireDate, isAuthorized, isBceKey, LOGGER, state| 限定符和类型 | 方法和说明 |
|---|---|
org.json.JSONObject |
sendImageRequest(String url,
byte[] image,
HashMap<String,Object> options)
easyDL通用请求方法
|
org.json.JSONObject |
sendImageRequest(String url,
String image,
HashMap<String,Object> options)
easyDL通用请求方法
|
org.json.JSONObject |
sendSoundRequest(String url,
byte[] data,
HashMap<String,Object> options)
easyDL通用请求方法
|
org.json.JSONObject |
sendSoundRequest(String url,
String file,
HashMap<String,Object> options)
easyDL通用请求方法
|
getAccessToken, needAuth, postOperation, preOperation, preOperation, requestServer, setConnectionTimeoutInMillis, setHttpProxy, setSocketProxy, setSocketTimeoutInMillispublic org.json.JSONObject sendImageRequest(String url, String image, HashMap<String,Object> options)
url - 服务的urlimage - 图片本地路径options - 可选参数public org.json.JSONObject sendImageRequest(String url, byte[] image, HashMap<String,Object> options)
url - 服务的urlimage - 图片二进制数据options - 可选参数public org.json.JSONObject sendSoundRequest(String url, String file, HashMap<String,Object> options)
url - 服务的urlfile - 图片本地路径options - 可选参数Copyright © 2024. All rights reserved.