public class ComposeTrackTime extends AbstractModel
header, skipSign
Constructor and Description |
---|
ComposeTrackTime() |
ComposeTrackTime(ComposeTrackTime 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 |
getDuration()
Get 元素时长,时间支持:
以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;
默认:取对应 ComposeSourceMedia 媒体的有效时长(即 EndTime-StartTime),没有 ComposeSourceMedia 则默认为 1 秒。
|
String |
getStart()
Get 元素在轨道上的起始时间,时间点支持:
以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;
注意:不填则默认为前一个元素的结束时间,此时可以通过 ComposeEmptyItem 元素来进行占位,实现轨道起始时间设置。
|
void |
setDuration(String Duration)
Set 元素时长,时间支持:
以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;
默认:取对应 ComposeSourceMedia 媒体的有效时长(即 EndTime-StartTime),没有 ComposeSourceMedia 则默认为 1 秒。
|
void |
setStart(String Start)
Set 元素在轨道上的起始时间,时间点支持:
以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;
注意:不填则默认为前一个元素的结束时间,此时可以通过 ComposeEmptyItem 元素来进行占位,实现轨道起始时间设置。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ComposeTrackTime()
public ComposeTrackTime(ComposeTrackTime source)
public String getStart()
public void setStart(String Start)
Start
- 元素在轨道上的起始时间,时间点支持:
public String getDuration()
public void setDuration(String Duration)
Duration
- 元素时长,时间支持:
Copyright © 2024. All rights reserved.