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 |
---|---|
String |
getCodecs()
Get 编码格式
|
Long |
getDuration()
Get 流检测时分片时长
注意:此字段可能返回 0,表示取不到有效值。
|
Long |
getHeight()
Get 高,单位为像素
|
Long |
getWidth()
Get 宽,单位为像素
|
void |
setCodecs(String Codecs)
Set 编码格式
|
void |
setDuration(Long Duration)
Set 流检测时分片时长
注意:此字段可能返回 0,表示取不到有效值。
|
void |
setHeight(Long Height)
Set 高,单位为像素
|
void |
setWidth(Long Width)
Set 宽,单位为像素
|
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 String getCodecs()
public void setCodecs(String Codecs)
Codecs
- 编码格式public Long getDuration()
public void setDuration(Long Duration)
Duration
- 流检测时分片时长
注意:此字段可能返回 0,表示取不到有效值。public Long getWidth()
public void setWidth(Long Width)
Width
- 宽,单位为像素public Long getHeight()
public void setHeight(Long Height)
Height
- 高,单位为像素Copyright © 2021. All rights reserved.