public class AliDownloaderFactory
extends java.lang.Object
构造器和说明 |
---|
AliDownloaderFactory() |
限定符和类型 | 方法和说明 |
---|---|
static AliMediaDownloader |
create(android.content.Context context)
Create a download task.
|
static int |
deleteFile(java.lang.String saveDir,
java.lang.String vid,
java.lang.String format,
int index)
Delete a specified video file.
|
public static AliMediaDownloader create(android.content.Context context)
context
- Context.public static int deleteFile(java.lang.String saveDir, java.lang.String vid, java.lang.String format, int index)
saveDir
- The directory where the video file is saved.vid
- The ID of the video.format
- The format of the video.index
- The index of the video.