| 程序包 | 说明 |
|---|---|
| cn.zkdcloud.component.material | |
| cn.zkdcloud.core |
| 限定符和类型 | 方法和说明 |
|---|---|
static MaterialType |
MaterialType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MaterialType[] |
MaterialType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Material> |
MaterialComponent.getListPersistentMaterial(MaterialType type,
Integer offset,
Integer count)
获取其它素材列表
|
String |
MaterialComponent.uploadPersistentMaterial(File file,
MaterialType type,
String title,
String introduction)
上传其他永久素材
|
String |
MaterialComponent.uploadTempMaterial(File file,
MaterialType type)
上传临时素材(image,video,thumb,voice保存3天)
|
Copyright © 2017. All rights reserved.