正在上传 vimeo 视频但未在 Android 中获取视频 link
vimeo video uploading but not getting video link in Android
我已经集成了 vimeo android api 并使用我的 android 应用程序将视频上传到 vimeo,每次我都收到上传成功的消息,但我需要获取我的视频 uri video.How 我能拿到那个吗??
Link:api.vimeo.com/users/23550690/tickets/29acf0c117debaf7a944b310a5d7aebe?video_file_id=587909747&upgrade=true&signature=9b1ffcc48c88dd7a4b5bd0f9ab2794b2
URL urls = new URL(url);
connection = (HttpURLConnection) urls.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty(
"Content-Type", "application/x-www-form-urlencoded" );
connection.setRequestMethod("DELETE");
int responseCode = connection.getResponseCode();
AppLog.e("Delete","===responseCode==="+responseCode);
if (responseCode != 401) {
InputStream inputStream = connection.getInputStream();
if (inputStream != null) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
String jsons = bufferedReader.readLine();
return new Object[]{jsons, requestCode};
}
}
我已经集成了 vimeo android api 并使用我的 android 应用程序将视频上传到 vimeo,每次我都收到上传成功的消息,但我需要获取我的视频 uri video.How 我能拿到那个吗??
Link:api.vimeo.com/users/23550690/tickets/29acf0c117debaf7a944b310a5d7aebe?video_file_id=587909747&upgrade=true&signature=9b1ffcc48c88dd7a4b5bd0f9ab2794b2
URL urls = new URL(url);
connection = (HttpURLConnection) urls.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty(
"Content-Type", "application/x-www-form-urlencoded" );
connection.setRequestMethod("DELETE");
int responseCode = connection.getResponseCode();
AppLog.e("Delete","===responseCode==="+responseCode);
if (responseCode != 401) {
InputStream inputStream = connection.getInputStream();
if (inputStream != null) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
String jsons = bufferedReader.readLine();
return new Object[]{jsons, requestCode};
}
}