public interface AliyunTemplateEditor extends AliyunTemplatePlayer
sdk version >= v3.27.0
template editor
Modifier and Type | Method and Description |
---|---|
long |
getMainClipStartTime(int clipIndex)
Gets start time of the main clip.
|
void |
updateCaption(AliyunTemplateTextParam param,
java.lang.String text)
update the template text
|
void |
updateMediaClip(AliyunTemplateVideoParam param,
AliyunClip clip)
Update the media clip.
|
getAllParams, getCurrentPlayPosition, getDuration, getEditorProject, init, isPaused, isPlaying, onDestroy, pause, play, seek, setPlayerCallBack
void updateMediaClip(AliyunTemplateVideoParam param, AliyunClip clip)
param
- template paramclip
- media clipvoid updateCaption(AliyunTemplateTextParam param, java.lang.String text)
param
- template paramtext
- textlong getMainClipStartTime(int clipIndex)
clipIndex
- The index of a clip.