public class TimeFilter extends EffectTrack
EffectTrack.TypemTimelineIn, mTimelineOut| Constructor and Description |
|---|
TimeFilter() |
TimeFilter(int id,
long startTime,
long duration,
int type,
float param,
boolean needOriginDuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getDuration()
Gets the duration of the time filter.
|
float |
getParam()
Gets the time effect param.
|
long |
getStartTime()
Gets the start time of timeline.
|
int |
getTimeFilterType()
Gets the time effect type.
|
boolean |
isNeedOriginDuration()
Whether to retain the original video length.
|
void |
setDuration(long duration)
Sets the duration of the time filter.
|
void |
setNeedOriginDuration(boolean needOriginDuration)
Sets whether to retain the original video length.
|
void |
setParam(float param)
Sets the time effect param.
|
void |
setStartTime(long startTime)
Sets the start time of timeline.
|
void |
setTimeFilterType(int type)
Sets the time effect type.
|
getTimelineIn, getTimelineOut, getType, setTimelineIn, setTimelineOut, setTypepublic TimeFilter()
public TimeFilter(int id,
long startTime,
long duration,
int type,
float param,
boolean needOriginDuration)
public boolean isNeedOriginDuration()
public void setNeedOriginDuration(boolean needOriginDuration)
needOriginDuration - is needOriginDurationpublic long getStartTime()
public void setStartTime(long startTime)
startTime - start timepublic long getDuration()
public void setDuration(long duration)
duration - durationpublic int getTimeFilterType()
TimeEffectTypepublic void setTimeFilterType(int type)
type - time effect typeTimeEffectTypepublic float getParam()
public void setParam(float param)
param - effect parampublic boolean equals(java.lang.Object o)
equals in class java.lang.Object