public class AliDownloaderFactory
extends java.lang.Object
| Constructor and Description |
|---|
AliDownloaderFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.