Mediainfo
Last Updated:2020-09-21
As for the certain Object in BOS, you can get the media information through the following code
public void getMediaInfoOfFile(MediaClient client, String bucket, String key) {
GetMediaInfoOfFileResponse mediaInfo = client.getMediaInfoOfFile(bucket, key);
System.out.println("fileSizeInByte: " + mediaInfo.getFileSizeInByte());
System.out.println("etag: " + mediaInfo.getEtag());
System.out.println("type: " + mediaInfo.getType());
}