GLMapDownloadTask
@interface GLMapDownloadTask : NSObject
GLMapDownloadTask is a class that downloads offline maps. It allows to cancel map download and check download error.
See
[GLMapManager downloadMap:withCompletionBlock:]
-
Unavailable
GLMapDownloadTask should be created with -
[GLMapManager downloadMap:withCompletionBlock:]Plain -init is disabled
Declaration
Objective-C
- (instancetype _Nonnull)init;
-
erroris nil if no error happens. Otherwise error contains information from component that failed. Error domain could be ‘CURL’, ‘HTTP’, ‘XZ’ or ‘GLMap’. For more information checkGLMapErrorSee
GLMapErrorDeclaration
Objective-C
@property (atomic, readonly) NSError *_Nullable error; -
isCancelledset toYESwhen task was cancelled.Declaration
Objective-C
@property (atomic, readonly) BOOL isCancelled; -
Speed of transfer. NAN if transfer is not started.
Declaration
Objective-C
@property (atomic, readonly) CGFloat speed; -
Bytes downloded by task
Declaration
Objective-C
@property (atomic, readonly) uint32_t downloaded; -
Total bytes to downloded by task
Declaration
Objective-C
@property (atomic, readonly) uint32_t total; -
Data set being downloaded
Declaration
Objective-C
@property (atomic, readonly) GLMapInfoDataSet dataSet;
Install in Dash
GLMapDownloadTask Class Reference