Class MediaInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vm.v20201229.models.MediaInfo
-
public class MediaInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDuration()Get 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。voidsetDuration(Long Duration)Set 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
MediaInfo
public MediaInfo()
-
MediaInfo
public 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.
-
-
Method Detail
-
getDuration
public Long getDuration()
Get 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。- Returns:
- Duration 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。
-
setDuration
public void setDuration(Long Duration)
Set 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。- Parameters:
Duration- 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。
-
-