public class AliyunTemplate
extends java.lang.Object
sdk version >= v3.27.0
template
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILENAME |
Constructor and Description |
---|
AliyunTemplate() |
Modifier and Type | Method and Description |
---|---|
AliyunEditorProject |
createEditorProject(Context context,
java.util.List<AliyunClip> list)
Generate template project。
|
Source |
getCover()
Gets the template cover.
|
java.util.List<AliyunTemplateParam> |
getImportParams()
Gets the import params.
|
java.util.List<AliyunTemplateParam> |
getParams()
Gets the template params.
|
java.lang.String |
getPath()
Gets the template path.
|
Source |
getProject()
Gets the template project.
|
java.lang.String |
getTemplateId()
Gets template id.
|
java.lang.String |
getTitle()
Gets the template title.
|
int |
getVersion()
Gets the template version.
|
Source |
getVideo()
Gets the template video.
|
void |
setCover(Source cover)
Sets the template cover.
|
void |
setPath(java.lang.String path)
Sets the template path.
|
void |
setProject(Source project)
Sets the template project.
|
void |
setTemplateId(java.lang.String templateId)
Sets template id.
|
void |
setTitle(java.lang.String title)
Sets the template title.
|
void |
setVersion(int version)
Sets the template version.
|
void |
setVideo(Source video)
Sets the template video.
|
public static final java.lang.String FILENAME
public int getVersion()
public void setVersion(int version)
version
- public java.lang.String getTemplateId()
public void setTemplateId(java.lang.String templateId)
templateId
- template idpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- template titlepublic Source getCover()
public void setCover(Source cover)
cover
- template coverpublic Source getVideo()
public void setVideo(Source video)
video
- template videopublic Source getProject()
public void setProject(Source project)
project
- template projectpublic java.util.List<AliyunTemplateParam> getParams()
public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- template pathpublic java.util.List<AliyunTemplateParam> getImportParams()
public AliyunEditorProject createEditorProject(Context context, java.util.List<AliyunClip> list)
context
- contextlist
- clip list