public class MediaTransitionItem extends AbstractModel
Constructor and Description |
---|
MediaTransitionItem() |
MediaTransitionItem(MediaTransitionItem 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 |
---|---|
Float |
getDuration()
Get Transition duration in seconds.
|
TransitionOpertion[] |
getTransitions()
Get List of transition operations.
|
void |
setDuration(Float Duration)
Set Transition duration in seconds.
|
void |
setTransitions(TransitionOpertion[] Transitions)
Set List of transition operations.
|
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 MediaTransitionItem()
public MediaTransitionItem(MediaTransitionItem source)
public Float getDuration()
public void setDuration(Float Duration)
Duration
- Transition duration in seconds. For two media segments that use a transition, the start time of the second segment on the track will be automatically set to the end time of the first segment minus the transition duration.public TransitionOpertion[] getTransitions()
public void setTransitions(TransitionOpertion[] Transitions)
Transitions
- List of transition operations. Up to one video image or audio transition operation is supported.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.