public class TrackEffectMV extends EffectBase
Added in v3.27.0 The mv bean of track
| Modifier and Type | Class and Description |
|---|---|
static class |
TrackEffectMV.Builder |
mSource, resId, viewId| Constructor and Description |
|---|
TrackEffectMV() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAudioStreamId()
Get the stream id
|
long |
getDuration()
Get the duration, unit : Milliseconds.
|
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
Get the duration
|
long |
getStartTime()
Get the start time of audio stream in the track, Unit : Milliseconds
|
long |
getStartTime(java.util.concurrent.TimeUnit timeUnit)
Get the start time of audio stream in the track
|
void |
setAudioStreamId(int audioStreamId)
Set the stream id
|
checkIsInvalid, copy, getPath, getResId, getSource, getViewId, readString, setPath, setResId, setSource, setViewId, toStringpublic long getStartTime()
public long getStartTime(java.util.concurrent.TimeUnit timeUnit)
timeUnit - TimeUnitpublic long getDuration()
public long getDuration(java.util.concurrent.TimeUnit timeUnit)
timeUnit - 时间单位public int getAudioStreamId()
public void setAudioStreamId(int audioStreamId)
audioStreamId -