public abstract class AliyunPasterAbstractController<MODEL> extends AliyunIPasterPackageOperation implements AliyunIPasterController
Modifier and Type | Field and Description |
---|---|
protected MODEL |
mModel |
protected AliyunPasterRender |
mRender |
Modifier and Type | Method and Description |
---|---|
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
获取当前贴纸的播放时长
|
long |
getStartTime(java.util.concurrent.TimeUnit timeUnit)
获取当前贴纸的起始时间
|
void |
setDuration(long aDuration)
设置贴纸播放时长
|
void |
setStartTime(long aStartTime)
设置贴纸的起始时间
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDuration, getPosition, getRotate, getSize, getStartTime, getType, setDuration, setPosition, setRotate, setStartTime
protected MODEL mModel
protected AliyunPasterRender mRender
public long getStartTime(java.util.concurrent.TimeUnit timeUnit)
AliyunIPasterController
v3.27.0新增
getStartTime
in interface AliyunIPasterController
timeUnit
- 时间单位public void setStartTime(long aStartTime)
AliyunIPasterController
setStartTime
in interface AliyunIPasterController
aStartTime
- 起始时间戳(单位:微秒)public long getDuration(java.util.concurrent.TimeUnit timeUnit)
AliyunIPasterController
v3.27.0新增
getDuration
in interface AliyunIPasterController
timeUnit
- 时间单位public void setDuration(long aDuration)
AliyunIPasterController
setDuration
in interface AliyunIPasterController
aDuration
- 贴纸播放时长(单位:微秒)