summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflinePack_Private.h
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-26 18:52:44 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 11:44:16 +0100
commit62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch)
tree7a4da88706e8a5513e1e13e993b2acc212cae3b1 /platform/darwin/src/MGLOfflinePack_Private.h
parenta662508ddde4043ece36d8ea9b424368891d892c (diff)
downloadqtlocation-mapboxgl-62ea1f21858c69f6921c775ba7a3de201f0514d8.tar.gz
[core] remove trailing whitespace, add trailing newlines, add space after //
Diffstat (limited to 'platform/darwin/src/MGLOfflinePack_Private.h')
-rw-r--r--platform/darwin/src/MGLOfflinePack_Private.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/darwin/src/MGLOfflinePack_Private.h b/platform/darwin/src/MGLOfflinePack_Private.h
index 95d8ba4323..65156b4e90 100644
--- a/platform/darwin/src/MGLOfflinePack_Private.h
+++ b/platform/darwin/src/MGLOfflinePack_Private.h
@@ -10,7 +10,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
The pack’s delegate.
-
+
You can use the offline pack delegate to be notified of any changes in the
pack’s progress and of any errors while downloading. For more information, see
the `MGLOfflinePackDelegate` documentation.
@@ -41,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Sent whenever the pack’s state or download progress changes. Every change to a
field in the `progress` property corresponds to an invocation of this method.
-
+
@param pack The pack whose state of progress changed.
@param progress The updated progress. To get the updated state, refer to the
`state` property.
@@ -50,11 +50,11 @@ NS_ASSUME_NONNULL_BEGIN
/**
Sent whenever the pack encounters an error while downloading.
-
+
Download errors may be recoverable. For example, this pack’s implementation may
attempt to re-request failed resources based on an exponential backoff
strategy or upon the restoration of network access.
-
+
@param pack The pack that encountered an error.
@param error A download error. For a list of possible error codes, see
`MGLErrorCode`.
@@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Sent when the maximum number of Mapbox-hosted tiles has been downloaded and
stored on the current device.
-
+
Once this limit is reached, no instance of `MGLOfflinePack` can download
additional tiles from Mapbox APIs until already downloaded tiles are removed by
calling the `-[MGLOfflineStorage removePack:withCompletionHandler:]` method.