public class PolyvUploaderManager
extends java.lang.Object
构造器和说明 |
---|
PolyvUploaderManager() |
限定符和类型 | 方法和说明 |
---|---|
static com.easefun.polyvsdk.upload.PolyvUploader |
getPolyvUploader(java.lang.String filePath,
java.lang.String title,
java.lang.String desc)
获取上传器
|
static com.easefun.polyvsdk.upload.PolyvUploader |
getPolyvUploader(java.lang.String filePath,
java.lang.String title,
java.lang.String desc,
java.lang.String cataid)
获取上传器
|
static int |
getSize() |
static IPolyvUploader |
removePolyvUpload(java.lang.String filePath)
移除上传任务
|
static void |
startAll()
开始所有上传任务
|
static void |
startAll(android.content.Context context)
开始所有上传任务
|
static void |
startUnfinished(java.util.List<java.lang.String> finishKeys)
开始未完成的任务
|
static void |
stopAll()
停止所有上传任务
|
public static com.easefun.polyvsdk.upload.PolyvUploader getPolyvUploader(java.lang.String filePath, java.lang.String title, java.lang.String desc)
filePath
- 文件路径title
- 标题desc
- 描述public static com.easefun.polyvsdk.upload.PolyvUploader getPolyvUploader(java.lang.String filePath, java.lang.String title, java.lang.String desc, java.lang.String cataid)
filePath
- 文件路径title
- 标题desc
- 描述cataid
- 上传的分类目录idpublic static int getSize()
public static IPolyvUploader removePolyvUpload(java.lang.String filePath)
filePath
- public static void startAll(android.content.Context context)
context
- public static void startAll()
public static void startUnfinished(java.util.List<java.lang.String> finishKeys)
finishKeys
- 完成任务的key集合,key=filepathpublic static void stopAll()