@Deprecated
public class EffectBean
extends java.lang.Object
Constructor and Description |
---|
EffectBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
long |
getDuration()
Deprecated.
Gets the display duration of an effect.
|
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the display duration of an effect.
|
int |
getId()
Deprecated.
|
int |
getMvAudioId()
Deprecated.
Gets the id of the audio stream in an MV effect.
|
int |
getOldId()
Deprecated.
Gets the original id of a resource.
|
java.lang.String |
getPath()
Deprecated.
Replaced by
##getSource() . |
Source |
getSource()
Deprecated.
Gets the file of a resource.
|
long |
getStartTime()
Deprecated.
Sets the time when an effect appears.
|
long |
getStartTime(java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the time when an effect appears.
|
long |
getStreamDuration()
Deprecated.
Get the display duration of an effect on the stream.Unit: microseconds.
|
long |
getStreamDuration(java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Get the display duration of an effect on the stream.Unit: milliseconds.
|
long |
getStreamStartTime()
Deprecated.
Get the time when an effect appears on the stream.Unit: microseconds.
|
long |
getStreamStartTime(java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Get the time when an effect appears on the stream.Unit: milliseconds.
|
int |
getWeight()
Deprecated.
|
void |
setDuration(long durationUs)
Deprecated.
Sets the display duration of an effect.
|
void |
setDuration(long duration,
java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the display duration of an effect.
|
void |
setId(int id)
Deprecated.
Sets the id of a resource.
|
void |
setMvAudioId(int audioId)
Deprecated.
Sets the id of the audio stream in an MV effect.
|
void |
setOldId(int oldId)
Deprecated.
Sets the original id of a resource.
|
void |
setPath(java.lang.String path)
Deprecated.
Replaced by
##setSource(Source) . |
void |
setSource(Source source)
Deprecated.
Sets the file of a resource.
|
void |
setStartTime(long startTimeUs)
Deprecated.
Sets the time when an effect appears.
|
void |
setStartTime(long startTime,
java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the time when an effect appears.
|
void |
setStreamDuration(long streamDurationUs)
Deprecated.
Sets the display duration of an effect on the stream.
|
void |
setStreamDuration(long streamDuration,
java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the display duration of an effect on the stream.
|
void |
setStreamStartTime(long streamStartTimeUs)
Deprecated.
Sets the time when an effect appears on the stream.
|
void |
setStreamStartTime(long streamStartTime,
java.util.concurrent.TimeUnit timeUnit)
Deprecated.
Sets the time when an effect appears on the stream.
|
void |
setWeight(int weight)
Deprecated.
Sets the weight of an audio stream.
|
TrackAudioStream |
toTrackAudioStream()
Deprecated.
Transform to
TrackAudioStream bean |
TrackEffectFilter |
toTrackEffectFilter()
Deprecated.
Transform to
TrackEffectFilter bean |
TrackEffectMV |
toTrackMV()
Deprecated.
Transform to
TrackEffectMV bean |
public int getWeight()
public void setWeight(int weight)
weight
- Valid values: [0, 100]public long getStreamStartTime()
public long getStreamStartTime(java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
timeUnit
- Time Unitpublic void setStreamStartTime(long streamStartTimeUs)
streamStartTimeUs
- Unit: microseconds.public void setStreamStartTime(long streamStartTime, java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
streamStartTime
- timeUnit
- Time Unitpublic long getStreamDuration()
public long getStreamDuration(java.util.concurrent.TimeUnit timeUnit)
timeUnit
- Time Unitpublic void setStreamDuration(long streamDurationUs)
streamDurationUs
- Unit: microseconds.public void setStreamDuration(long streamDuration, java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
streamDuration
- timeUnit
- Time Unitpublic int getId()
public void setId(int id)
id
- public int getOldId()
public void setOldId(int oldId)
oldId
- The original resource id.@Deprecated public java.lang.String getPath()
##getSource()
.@Deprecated public void setPath(java.lang.String path)
##setSource(Source)
.path
- public Source getSource()
public void setSource(Source source)
source
- Sourcepublic long getStartTime()
public long getStartTime(java.util.concurrent.TimeUnit timeUnit)
timeUnit
- Time Unitpublic void setStartTime(long startTimeUs)
startTimeUs
- Unit: microseconds.public void setStartTime(long startTime, java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
startTime
- timeUnit
- public long getDuration()
public long getDuration(java.util.concurrent.TimeUnit timeUnit)
timeUnit
- Time Unit
Added in v3.27.0
public void setDuration(long durationUs)
durationUs
- Duration,Unit: microseconds.public void setDuration(long duration, java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
duration
- DurationtimeUnit
- Time Unitpublic void setMvAudioId(int audioId)
audioId
- The audio stream id.public int getMvAudioId()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public TrackEffectFilter toTrackEffectFilter()
TrackEffectFilter
bean
Added in v3.27.0
TrackEffectFilter
public TrackAudioStream toTrackAudioStream()
TrackAudioStream
bean
Added in v3.27.0
TrackAudioStream
public TrackEffectMV toTrackMV()
TrackEffectMV
bean
Added in v3.27.0
TrackEffectMV