public class AudioTrackItem extends AbstractModel
Constructor and Description |
---|
AudioTrackItem() |
Modifier and Type | Method and Description |
---|---|
AudioTransform[] |
getAudioOperations()
Get Operation on audio segment, such as volume adjustment.
|
Float |
getDuration()
Get Audio segment duration in seconds.
|
String |
getSourceMedia()
Get Source of media file for audio material, which can be an ID of a VOD file or URL of another file.
|
Float |
getSourceMediaStartTime()
Get Start time of audio segment in material file in seconds.
|
void |
setAudioOperations(AudioTransform[] AudioOperations)
Set Operation on audio segment, such as volume adjustment.
|
void |
setDuration(Float Duration)
Set Audio segment duration in seconds.
|
void |
setSourceMedia(String SourceMedia)
Set Source of media file for audio material, which can be an ID of a VOD file or URL of another file.
|
void |
setSourceMediaStartTime(Float SourceMediaStartTime)
Set Start time of audio segment in material file in seconds.
|
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 String getSourceMedia()
public void setSourceMedia(String SourceMedia)
SourceMedia
- Source of media file for audio material, which can be an ID of a VOD file or URL of another file.public Float getSourceMediaStartTime()
public void setSourceMediaStartTime(Float SourceMediaStartTime)
SourceMediaStartTime
- Start time of audio segment in material file in seconds. Default value: 0, which means to start capturing from the beginning position of the material.public Float getDuration()
public void setDuration(Float Duration)
Duration
- Audio segment duration in seconds. By default, the length of the material will be used, which means that the entire material will be captured.public AudioTransform[] getAudioOperations()
public void setAudioOperations(AudioTransform[] AudioOperations)
AudioOperations
- Operation on audio segment, such as volume adjustment.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.