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 |
---|---|
String |
getCodecs()
Get This field is used to return the codec of the media file passed in, such as WAV, MP3, AAC, FLAC, AMR, 3GP, M4A, WMA, OGG, and APE.
|
Long |
getDuration()
Get This field is used to return the segment length of the input streaming media file in seconds.
|
Long |
getHeight()
Get *This field is in beta test.
|
String |
getThumbnail()
Get *This field is in beta test.
|
Long |
getWidth()
Get *This field is in beta test.
|
void |
setCodecs(String Codecs)
Set This field is used to return the codec of the media file passed in, such as WAV, MP3, AAC, FLAC, AMR, 3GP, M4A, WMA, OGG, and APE.
|
void |
setDuration(Long Duration)
Set This field is used to return the segment length of the input streaming media file in seconds.
|
void |
setHeight(Long Height)
Set *This field is in beta test.
|
void |
setThumbnail(String Thumbnail)
Set *This field is in beta test.
|
void |
setWidth(Long Width)
Set *This field is in beta test.
|
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 String getCodecs()
public void setCodecs(String Codecs)
Codecs
- This field is used to return the codec of the media file passed in, such as WAV, MP3, AAC, FLAC, AMR, 3GP, M4A, WMA, OGG, and APE.public Long getDuration()
public void setDuration(Long Duration)
Duration
- This field is used to return the segment length of the input streaming media file in seconds. It is **15 seconds by default** and is customizable.public Long getWidth()
public void setWidth(Long Width)
Width
- *This field is in beta test. Stay tuned*public Long getHeight()
public void setHeight(Long Height)
Height
- *This field is in beta test. Stay tuned*public String getThumbnail()
public void setThumbnail(String Thumbnail)
Thumbnail
- *This field is in beta test. Stay tuned*Copyright © 2023. All rights reserved.