public class AudioTrackItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
AudioTrackItem() |
AudioTrackItem(AudioTrackItem 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 |
---|---|
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 material for audio segment, which can be:
ID of VOD media files
Download URL of other media files
Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
|
Float |
getSourceMediaStartTime()
Get Start time of audio segment in material file in seconds.
|
Float |
getTargetDuration()
Get The target audio duration, 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 material for audio segment, which can be:
ID of VOD media files
Download URL of other media files
Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
|
void |
setSourceMediaStartTime(Float SourceMediaStartTime)
Set Start time of audio segment in material file in seconds.
|
void |
setTargetDuration(Float TargetDuration)
Set The target audio duration, in seconds.
|
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 AudioTrackItem()
public AudioTrackItem(AudioTrackItem source)
public String getSourceMedia()
public void setSourceMedia(String SourceMedia)
SourceMedia
- Source of media material for audio segment, which can be:
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 Float getTargetDuration()
public void setTargetDuration(Float TargetDuration)
TargetDuration
- The target audio duration, in seconds.
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 © 2024. All rights reserved.