com.qcloud.cos.model.ciModel.mediaInfo.MediaInfoStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.model.ciModel.mediaInfo;
import java.util.ArrayList;
import java.util.List;
/**
* MediaInfo 格式详情实体类 详情见:https://cloud.tencent.com/document/product/460/38935
*/
public class MediaInfoStream {
/**
* 视频信息
*/
private List mediaInfoVideoList;
/**
* 音频信息
*/
private List mediaInfoAudioList;
/**
* 字幕信息
*/
private MediaInfoSubtitle subtitle;
public List getMediaInfoVideoList() {
if (mediaInfoVideoList == null) {
mediaInfoVideoList = new ArrayList<>();
}
return mediaInfoVideoList;
}
public void setMediaInfoVideoList(List mediaInfoVideoList) {
this.mediaInfoVideoList = mediaInfoVideoList;
}
public List getMediaInfoAudioList() {
if (mediaInfoAudioList == null) {
mediaInfoAudioList = new ArrayList<>();
}
return mediaInfoAudioList;
}
public void setMediaInfoAudioList(List mediaInfoAudioList) {
this.mediaInfoAudioList = mediaInfoAudioList;
}
public MediaInfoSubtitle getSubtitle() {
if (subtitle == null) {
subtitle = new MediaInfoSubtitle();
}
return subtitle;
}
public void setSubtitle(MediaInfoSubtitle subtitle) {
this.subtitle = subtitle;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("MediaStream{");
sb.append("mediaInfoVideoList=").append(mediaInfoVideoList);
sb.append(", mediaInfoAudioList=").append(mediaInfoAudioList);
sb.append(", subtitle=").append(subtitle);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy