public class NetworkLinkRefresh
extends java.lang.Object
| Constructor and Description |
|---|
NetworkLinkRefresh(android.app.Activity activity,
NetworkLinkDownloader downloader) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RemoteResource res)
Schedule task to refresh URL after 'interval' from now, and then every 'interval'
|
void |
remove(RemoteResource res)
Remove task for the specified filename (not path)
|
void |
shutdown()
Cancel all scheduled tasks
|
public NetworkLinkRefresh(android.app.Activity activity,
NetworkLinkDownloader downloader)
public void add(RemoteResource res)
res - Remote resourcepublic void remove(RemoteResource res)
res - Remote resourcepublic void shutdown()