0
餘米嘗試使用下面的代碼,列出從cloudinary所有圖像,但我得到「未實現例外」Cloudinary列表中的所有圖像不落實例外
Map config = ObjectUtils.asMap(
"cloud_name", Config.CLOUDINARY_CLOUD_NAME,
"api_key", Config.CLOUDINARY_API_KEY,
"api_secret", Config.CLOUDINARY_API_SECRET);
Cloudinary cloudinary = new Cloudinary(config);
Api api = cloudinary.api();
Map result;
try {
result = api.resources(ObjectUtils.emptyMap());
} catch (Exception e) {
e.printStackTrace();
}
這似乎是從
public ApiResponse callApi(HttpMethod method, Iterable<String> uri, Map<String, ? extends Object> params, Map options) throws Exception {
throw new Exception("not implemented");
}
// function parameter values
this = {[email protected]}
api = {[email protected]}
shadow$_klass_ = {[email protected]} "class com.cloudinary.android.ApiStrategy"
shadow$_monitor_ = -2091658589
method = {[email protected]} "GET"
name = {[email protected]} "GET"
ordinal = 0
shadow$_klass_ = {[email protected]} "class com.cloudinary.Api$HttpMethod"
shadow$_monitor_ = -2098674761
uri = {[email protected]} size = 2
0 = {[email protected]} "resources"
1 = {[email protected]} "image"
params = {[email protected]} size = 0
options = {[email protected]} size = 0