public class ComposeMediaConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ComposeMediaConfig() |
ComposeMediaConfig(ComposeMediaConfig 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 |
---|---|
ComposeCanvas |
getCanvas()
Get The canvas information of the output video.
|
ComposeStyles[] |
getStyles()
Get The global styles.
|
ComposeTargetInfo |
getTargetInfo()
Get The information of the output video.
|
ComposeMediaTrack[] |
getTracks()
Get The information of media tracks (consisting of video, audio, image, and text elements) used to composite the video.
|
void |
setCanvas(ComposeCanvas Canvas)
Set The canvas information of the output video.
|
void |
setStyles(ComposeStyles[] Styles)
Set The global styles.
|
void |
setTargetInfo(ComposeTargetInfo TargetInfo)
Set The information of the output video.
|
void |
setTracks(ComposeMediaTrack[] Tracks)
Set The information of media tracks (consisting of video, audio, image, and text elements) used to composite the video.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ComposeMediaConfig()
public ComposeMediaConfig(ComposeMediaConfig source)
public ComposeTargetInfo getTargetInfo()
public void setTargetInfo(ComposeTargetInfo TargetInfo)
TargetInfo
- The information of the output video.public ComposeCanvas getCanvas()
public void setCanvas(ComposeCanvas Canvas)
Canvas
- The canvas information of the output video.public ComposeStyles[] getStyles()
public void setStyles(ComposeStyles[] Styles)
Styles
- The global styles. This parameter is used together with `Tracks` to specify styles, such as the subtitle style.public ComposeMediaTrack[] getTracks()
public void setTracks(ComposeMediaTrack[] Tracks)
Tracks
- The information of media tracks (consisting of video, audio, image, and text elements) used to composite the video. About tracks and the timeline:
Copyright © 2024. All rights reserved.