public class KMLNetworkLinkDownloader extends NetworkLinkDownloader
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TAG |
_context, _downloading, _refresher
Constructor and Description |
---|
KMLNetworkLinkDownloader(android.content.Context context)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
download(RemoteResource resource,
boolean showNotifications)
Download specified file asynchronously
|
void |
onRequestConnectionError(Request request,
RequestManager.ConnectionError ce) |
void |
onRequestCustomError(Request request,
android.os.Bundle resultData) |
void |
onRequestDataError(Request request) |
void |
onRequestFinished(Request request,
android.os.Bundle resultData) |
addRefreshLink, download, getContext, getLinkRefresh, getNotificationId, getString, isDownloading, isErrorNotification, postNotification, postNotification, postNotification, postNotification, removeRefreshLink, shutdown
protected static final java.lang.String TAG
public KMLNetworkLinkDownloader(android.content.Context context)
context
- the context to be used for downloading kml network links. Must be an
activity context.public void download(RemoteResource resource, boolean showNotifications)
download
in class NetworkLinkDownloader
resource
- the remote resource to download.showNotifications
- True to show notifications during DL/importpublic void onRequestFinished(Request request, android.os.Bundle resultData)
public void onRequestConnectionError(Request request, RequestManager.ConnectionError ce)
public void onRequestDataError(Request request)
public void onRequestCustomError(Request request, android.os.Bundle resultData)