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 该字段用于返回传入的媒体文件的编码格式,如wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape等。
|
Long |
getDuration()
Get 该字段用于返回对传入的流媒体文件进行分片的片段时长,单位为秒。**默认值为15秒**,支持用户自定义配置。
|
Long |
getHeight()
Get *内测中,敬请期待*
|
String |
getThumbnail()
Get *内测中,敬请期待*
|
Long |
getWidth()
Get *内测中,敬请期待*
|
void |
setCodecs(String Codecs)
Set 该字段用于返回传入的媒体文件的编码格式,如wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape等。
|
void |
setDuration(Long Duration)
Set 该字段用于返回对传入的流媒体文件进行分片的片段时长,单位为秒。**默认值为15秒**,支持用户自定义配置。
|
void |
setHeight(Long Height)
Set *内测中,敬请期待*
|
void |
setThumbnail(String Thumbnail)
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
- 该字段用于返回传入的媒体文件的编码格式,如wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape等。public Long getDuration()
public void setDuration(Long Duration)
Duration
- 该字段用于返回对传入的流媒体文件进行分片的片段时长,单位为秒。**默认值为15秒**,支持用户自定义配置。public Long getWidth()
public void setWidth(Long Width)
Width
- *内测中,敬请期待*public Long getHeight()
public void setHeight(Long Height)
Height
- *内测中,敬请期待*public String getThumbnail()
public void setThumbnail(String Thumbnail)
Thumbnail
- *内测中,敬请期待*Copyright © 2022. All rights reserved.