mirror of https://github.com/deniscerri/ytdlnis
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
409 B
Java
14 lines
409 B
Java
package com.deniscerri.ytdlnis.service;
|
|
|
|
import android.app.Activity;
|
|
import com.deniscerri.ytdlnis.database.Video;
|
|
import java.util.ArrayList;
|
|
|
|
public interface IDownloaderService {
|
|
DownloadInfo getDownloadInfo();
|
|
void addActivity(Activity activity, IDownloaderListener callback);
|
|
void removeActivity(Activity activity);
|
|
void updateQueue(ArrayList<Video> queue);
|
|
void cancelDownload();
|
|
}
|