public class DownloadAndCacheBroadcastReceiver extends android.content.BroadcastReceiver implements LayerDownloader.Callback
| Constructor and Description |
|---|
DownloadAndCacheBroadcastReceiver(OnlineLayersDownloadManager downloader,
LayersManagerBroadcastReceiver lmbr) |
| Modifier and Type | Method and Description |
|---|---|
void |
onDownloadStatus(LayerDownloader.DownloadStatus status)
Download progress update
|
void |
onJobStatus(LayerDownloader.JobStatus status)
Job status update
|
void |
onLevelProgressUpdate(java.lang.String title,
int progress)
The max progress up to the current level has been changed
Usually this means the next level has begun downloading
|
void |
onMaxProgressUpdate(java.lang.String title,
int progress)
The max overall progress value has been changed
|
void |
onReceive(android.content.Context context,
android.content.Intent intent)
Deprecated.
|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic DownloadAndCacheBroadcastReceiver(OnlineLayersDownloadManager downloader, LayersManagerBroadcastReceiver lmbr)
public void onDownloadStatus(LayerDownloader.DownloadStatus status)
LayerDownloader.CallbackonDownloadStatus in interface LayerDownloader.Callbackstatus - Download status and progress statspublic void onMaxProgressUpdate(java.lang.String title,
int progress)
LayerDownloader.CallbackonMaxProgressUpdate in interface LayerDownloader.Callbacktitle - Layer titleprogress - Progresspublic void onLevelProgressUpdate(java.lang.String title,
int progress)
LayerDownloader.CallbackonLevelProgressUpdate in interface LayerDownloader.Callbacktitle - Layer titleprogress - Progresspublic void onJobStatus(LayerDownloader.JobStatus status)
LayerDownloader.CallbackonJobStatus in interface LayerDownloader.Callbackstatus - Job status@Deprecated
public void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiver