public class MediaInfo extends AbstractModel
Constructor and Description |
---|
MediaInfo() |
MediaInfo(MediaInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
MediaAdaptiveDynamicStreamingInfo |
getAdaptiveDynamicStreamingInfo()
Get Adaptive bitrate streaming information, such as specification, encryption type, and container format.
|
MediaAnimatedGraphicsInfo |
getAnimatedGraphicsInfo()
Get Result information of animated image generating, i.e., relevant information of an animated image (such as .gif) generated from a video.
|
MediaBasicInfo |
getBasicInfo()
Get Basic information, such as video name, category, playback address, and cover image.
|
String |
getFileId()
Get Unique ID of media file.
|
MediaImageSpriteInfo |
getImageSpriteInfo()
Get Image sprite information, i.e., relevant information of image sprite generated from video.
|
MediaKeyFrameDescInfo |
getKeyFrameDescInfo()
Get Timestamp information, i.e., information of each timestamp set for a video.
|
MediaMetaData |
getMetaData()
Get Metadata, such as size, duration, video stream information, and audio stream information.
|
MediaMiniProgramReviewInfo |
getMiniProgramReviewInfo()
Get WeChat Mini Program audit information.
|
FileReviewInfo |
getReviewInfo()
Get Moderation details.
|
MediaSampleSnapshotInfo |
getSampleSnapshotInfo()
Get Sampled screenshot information, i.e., relevant information of a sampled screenshot generated from a video.
|
MediaSnapshotByTimeOffsetInfo |
getSnapshotByTimeOffsetInfo()
Get Time point screenshot information, i.e., information of each time point screenshot generated from a video.
|
MediaSubtitleInfo |
getSubtitleInfo()
Get Subtitle information
Note: this field may return `null`, indicating that no valid value is obtained.
|
MediaTranscodeInfo |
getTranscodeInfo()
Get Result information of transcoding, such as address, specification, bitrate, and resolution of the videos in various bitrates generated by transcoding a video.
|
void |
setAdaptiveDynamicStreamingInfo(MediaAdaptiveDynamicStreamingInfo AdaptiveDynamicStreamingInfo)
Set Adaptive bitrate streaming information, such as specification, encryption type, and container format.
|
void |
setAnimatedGraphicsInfo(MediaAnimatedGraphicsInfo AnimatedGraphicsInfo)
Set Result information of animated image generating, i.e., relevant information of an animated image (such as .gif) generated from a video.
|
void |
setBasicInfo(MediaBasicInfo BasicInfo)
Set Basic information, such as video name, category, playback address, and cover image.
|
void |
setFileId(String FileId)
Set Unique ID of media file.
|
void |
setImageSpriteInfo(MediaImageSpriteInfo ImageSpriteInfo)
Set Image sprite information, i.e., relevant information of image sprite generated from video.
|
void |
setKeyFrameDescInfo(MediaKeyFrameDescInfo KeyFrameDescInfo)
Set Timestamp information, i.e., information of each timestamp set for a video.
|
void |
setMetaData(MediaMetaData MetaData)
Set Metadata, such as size, duration, video stream information, and audio stream information.
|
void |
setMiniProgramReviewInfo(MediaMiniProgramReviewInfo MiniProgramReviewInfo)
Set WeChat Mini Program audit information.
|
void |
setReviewInfo(FileReviewInfo ReviewInfo)
Set Moderation details.
|
void |
setSampleSnapshotInfo(MediaSampleSnapshotInfo SampleSnapshotInfo)
Set Sampled screenshot information, i.e., relevant information of a sampled screenshot generated from a video.
|
void |
setSnapshotByTimeOffsetInfo(MediaSnapshotByTimeOffsetInfo SnapshotByTimeOffsetInfo)
Set Time point screenshot information, i.e., information of each time point screenshot generated from a video.
|
void |
setSubtitleInfo(MediaSubtitleInfo SubtitleInfo)
Set Subtitle information
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setTranscodeInfo(MediaTranscodeInfo TranscodeInfo)
Set Result information of transcoding, such as address, specification, bitrate, and resolution of the videos in various bitrates generated by transcoding a video.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MediaInfo()
public MediaInfo(MediaInfo source)
public MediaBasicInfo getBasicInfo()
public void setBasicInfo(MediaBasicInfo BasicInfo)
BasicInfo
- Basic information, such as video name, category, playback address, and cover image.
Note: this field may return null, indicating that no valid values can be obtained.public MediaMetaData getMetaData()
public void setMetaData(MediaMetaData MetaData)
MetaData
- Metadata, such as size, duration, video stream information, and audio stream information.
Note: this field may return null, indicating that no valid values can be obtained.public MediaTranscodeInfo getTranscodeInfo()
public void setTranscodeInfo(MediaTranscodeInfo TranscodeInfo)
TranscodeInfo
- Result information of transcoding, such as address, specification, bitrate, and resolution of the videos in various bitrates generated by transcoding a video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaAnimatedGraphicsInfo getAnimatedGraphicsInfo()
public void setAnimatedGraphicsInfo(MediaAnimatedGraphicsInfo AnimatedGraphicsInfo)
AnimatedGraphicsInfo
- Result information of animated image generating, i.e., relevant information of an animated image (such as .gif) generated from a video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaSampleSnapshotInfo getSampleSnapshotInfo()
public void setSampleSnapshotInfo(MediaSampleSnapshotInfo SampleSnapshotInfo)
SampleSnapshotInfo
- Sampled screenshot information, i.e., relevant information of a sampled screenshot generated from a video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaImageSpriteInfo getImageSpriteInfo()
public void setImageSpriteInfo(MediaImageSpriteInfo ImageSpriteInfo)
ImageSpriteInfo
- Image sprite information, i.e., relevant information of image sprite generated from video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaSnapshotByTimeOffsetInfo getSnapshotByTimeOffsetInfo()
public void setSnapshotByTimeOffsetInfo(MediaSnapshotByTimeOffsetInfo SnapshotByTimeOffsetInfo)
SnapshotByTimeOffsetInfo
- Time point screenshot information, i.e., information of each time point screenshot generated from a video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaKeyFrameDescInfo getKeyFrameDescInfo()
public void setKeyFrameDescInfo(MediaKeyFrameDescInfo KeyFrameDescInfo)
KeyFrameDescInfo
- Timestamp information, i.e., information of each timestamp set for a video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaAdaptiveDynamicStreamingInfo getAdaptiveDynamicStreamingInfo()
public void setAdaptiveDynamicStreamingInfo(MediaAdaptiveDynamicStreamingInfo AdaptiveDynamicStreamingInfo)
AdaptiveDynamicStreamingInfo
- Adaptive bitrate streaming information, such as specification, encryption type, and container format.
Note: this field may return null, indicating that no valid values can be obtained.public MediaMiniProgramReviewInfo getMiniProgramReviewInfo()
public void setMiniProgramReviewInfo(MediaMiniProgramReviewInfo MiniProgramReviewInfo)
MiniProgramReviewInfo
- WeChat Mini Program audit information.
Note: this field may return null, indicating that no valid values can be obtained.public MediaSubtitleInfo getSubtitleInfo()
public void setSubtitleInfo(MediaSubtitleInfo SubtitleInfo)
SubtitleInfo
- Subtitle information
Note: this field may return `null`, indicating that no valid value is obtained.public String getFileId()
public void setFileId(String FileId)
FileId
- Unique ID of media file.public FileReviewInfo getReviewInfo()
public void setReviewInfo(FileReviewInfo ReviewInfo)
ReviewInfo
- Moderation details.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.