| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
TABLE_NAME |
| Constructor | Description |
|---|---|
AppDbHelper(android.content.Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
DownloadModel |
find(int id) |
|
java.util.List<DownloadModel> |
getUnwantedModels(int days) |
|
void |
insert(DownloadModel model) |
|
void |
remove(int id) |
|
void |
update(DownloadModel model) |
|
void |
updateProgress(int id,
long downloadedBytes,
long lastModifiedAt) |
public static final java.lang.String TABLE_NAME
public DownloadModel find(int id)
public void insert(DownloadModel model)
public void update(DownloadModel model)
public void updateProgress(int id,
long downloadedBytes,
long lastModifiedAt)
updateProgress in interface DbHelperpublic java.util.List<DownloadModel> getUnwantedModels(int days)
getUnwantedModels in interface DbHelper