public class MediaInfo extends AbstractModel
skipSign
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 |
---|---|
Long |
getDuration()
Get 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。 |
void |
setDuration(Long Duration)
Set 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。
备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。 |
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MediaInfo()
public MediaInfo(MediaInfo source)
public Long getDuration()
public void setDuration(Long Duration)
Duration
- 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。Copyright © 2023. All rights reserved.