|
JubeatPlus 3.9.11
|
A full-screen dimming cover carrying a StoreDialogView download-progress panel.
More...
#include <MarkerDownloadView.h>


Instance Methods | |
| (instancetype) | - init |
| Builds the cover and the progress panel at the screen's size. | |
| (void) | - show |
| Starts the marker check: shows the dialog (unless the markers are already legal) and downloads the marker list. | |
| (void) | - downloadMarkerList |
| Requests the marker list from the store. | |
| (void) | - markerDownloadEnd |
Ends the check: hides the dialog and tells the delegate -markerCheckEnd . | |
| (void) | - markerDownloadCancel |
Aborts the check: hides the dialog, cancels the queue, resets the current marker to "mk0026" , and tells the delegate -markerCheckEnd . | |
| (void) | - markerDownload |
| Starts downloading the queued markers, or ends the check when the queue is empty. | |
| (void) | - createMarkerDownloadList |
| Builds the download queue by diffing the downloaded marker list against the installed markers, then shows the dialog when there is work to do. | |
| (void) | - downloaderError: |
DownloaderDelegate : the list request failed. | |
| (void) | - downloaderFinished: |
DownloaderDelegate : the list request finished; validate it and start the markers. | |
| (void) | - listDownloadFailed |
| Handles a failed list download: ends the check when the markers are legal, otherwise treats it as a queue failure. | |
| (void) | - showDownloadRetryAlert |
Presents the retry-or-skip alert (tag 2 ). | |
| (void) | - showListSkipAlert |
Presents the confirm-skip alert (tag 1 ). | |
| (void) | - alertSelect: |
AlertViewManagerDelegate : routes the retry and skip alert buttons. | |
| (void) | - showModalDialog |
| Fades the cover in and puts the panel into its spinner state. | |
| (void) | - hideModalDialog |
| Fades the cover out, stops the spinner, and detaches the modal. | |
| (void) | - storeDialogCancel: |
StoreDialogViewDelegate : the panel's abort button was pressed. | |
| (void) | - downloadManagerProceed: |
MarkerDownloadManagerDelegate : the queue made progress. | |
| (void) | - downloadManagerCompleted: |
MarkerDownloadManagerDelegate : the queue completed. | |
| (void) | - downloadManagerFailed: |
MarkerDownloadManagerDelegate : the queue failed. | |
| Instance Methods inherited from <DownloaderDelegate> | |
| (void) | - downloaderProceed: |
| Sent periodically as data arrives, and once more on completion. | |
| Instance Methods inherited from <MarkerDownloadManagerDelegate> | |
| (void) | - downloadManagerStartTask: |
| A task has started. | |
| (void) | - downloadManagerProceed: |
| The current task made progress. | |
| (void) | - downloadManagerCompleted: |
| All tasks completed. | |
| Instance Methods inherited from <AlertViewManagerDelegate> | |
| (void) | - alertClose: |
Sent when a UIAlertController -based alert finishes dismissing. | |
Properties | |
| id< MarkerDownloadViewDelegate > | delegate |
| The object told when the marker check ends. | |
| UIView * | parentView |
| The view the modal is shown over. | |
A full-screen dimming cover carrying a StoreDialogView download-progress panel.
| - (void) alertSelect: | (nonnull NSDictionary *) | info |
AlertViewManagerDelegate : routes the retry and skip alert buttons.
| info | The alert result, carrying "Tag" and "btnMessage" . |
Reimplemented from <AlertViewManagerDelegate>.
| - (void) createMarkerDownloadList |
Builds the download queue by diffing the downloaded marker list against the installed markers, then shows the dialog when there is work to do.
| - (void) downloaderError: | (id) | downloader |
DownloaderDelegate : the list request failed.
| downloader | The failed request. |
Reimplemented from <DownloaderDelegate>.
| - (void) downloaderFinished: | (id) | downloader |
DownloaderDelegate : the list request finished; validate it and start the markers.
| downloader | The finished request. |
Reimplemented from <DownloaderDelegate>.
| - (void) downloadManagerCompleted: | (MarkerDownloadManager *) | manager |
MarkerDownloadManagerDelegate : the queue completed.
| manager | The queue. |
| - (void) downloadManagerFailed: | (nullable MarkerDownloadManager *) | manager |
MarkerDownloadManagerDelegate : the queue failed.
| manager | The queue. |
Reimplemented from <MarkerDownloadManagerDelegate>.
| - (void) downloadManagerProceed: | (MarkerDownloadManager *) | manager |
MarkerDownloadManagerDelegate : the queue made progress.
| manager | The queue. |
| - (void) downloadMarkerList |
Requests the marker list from the store.
| - (void) hideModalDialog |
Fades the cover out, stops the spinner, and detaches the modal.
| - (instancetype) init |
Builds the cover and the progress panel at the screen's size.
The panel is 400×300 on a pad and 300×270 otherwise, its message eighteen point on a pad and sixteen otherwise, centred in the screen. The cover is a forty-per-cent black slab that starts fully transparent.
| - (void) listDownloadFailed |
Handles a failed list download: ends the check when the markers are legal, otherwise treats it as a queue failure.
| - (void) markerDownload |
Starts downloading the queued markers, or ends the check when the queue is empty.
| - (void) markerDownloadCancel |
Aborts the check: hides the dialog, cancels the queue, resets the current marker to "mk0026" , and tells the delegate -markerCheckEnd .
| - (void) markerDownloadEnd |
Ends the check: hides the dialog and tells the delegate -markerCheckEnd .
| - (void) show |
Starts the marker check: shows the dialog (unless the markers are already legal) and downloads the marker list.
| - (void) showDownloadRetryAlert |
Presents the retry-or-skip alert (tag 2 ).
| - (void) showListSkipAlert |
Presents the confirm-skip alert (tag 1 ).
| - (void) showModalDialog |
Fades the cover in and puts the panel into its spinner state.
| - (void) storeDialogCancel: | (id) | dialogView |
StoreDialogViewDelegate : the panel's abort button was pressed.
| dialogView | The panel. |
Reimplemented from <StoreDialogViewDelegate>.
|
readwritenonatomicweak |
The object told when the marker check ends.
Weak, and dispatched through -respondsToSelector: .
|
readwritenonatomicweak |
The view the modal is shown over.
Weak.