public class VideoDownloader extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VideoDownloader.VideoState |
| 构造器和说明 |
|---|
VideoDownloader(String url,
String videoPath,
String videoName,
VideoCallBack callBack,
Proxy proxy,
ExecutorService threadPool) |
| 限定符和类型 | 方法和说明 |
|---|---|
Future<?> |
download() |
VideoDownloader.VideoState |
getCurrentState() |
void |
pauseDownload() |
Future<?> |
startDownload() |
void |
stopDownload() |
public VideoDownloader(String url, String videoPath, String videoName, VideoCallBack callBack, Proxy proxy, ExecutorService threadPool)
public Future<?> download()
public VideoDownloader.VideoState getCurrentState()
public void stopDownload()
public void pauseDownload()
public Future<?> startDownload()
Copyright © 2020. All rights reserved.