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, waitgetDuration, getPosition, getRotate, getSize, getStartTime, getType, setDuration, setPosition, setRotate, setStartTimeprotected MODEL mModel
protected AliyunPasterRender mRender
public long getStartTime(java.util.concurrent.TimeUnit timeUnit)
AliyunIPasterControllerv3.27.0新增
getStartTime in interface AliyunIPasterControllertimeUnit - 时间单位public void setStartTime(long aStartTime)
AliyunIPasterControllersetStartTime in interface AliyunIPasterControlleraStartTime - 起始时间戳(单位:微秒)public long getDuration(java.util.concurrent.TimeUnit timeUnit)
AliyunIPasterControllerv3.27.0新增
getDuration in interface AliyunIPasterControllertimeUnit - 时间单位public void setDuration(long aDuration)
AliyunIPasterControllersetDuration in interface AliyunIPasterControlleraDuration - 贴纸播放时长(单位:微秒)