<SYMapLoaderDelegate> Protocol Reference

Callback messages sent by the SYMapLoader. The callbacks correspond to specific map loader functionality. Only one delegate may be installed on the map loader at a time, using the setDelegate method. More...

#import <SYMapLoader.h>

Inheritance diagram for <SYMapLoaderDelegate>:
Collaboration diagram for <SYMapLoaderDelegate>:

Instance Methods

(void) - mapLoader:didUpdateMapInstallProgress:forMap:
 Called when progress of SYMapLoader::installMapPackage: method is changed. Progress of MapLoader's Resource file(s) is reported by this callback message. It is represented by the ISO code "xr". More...
 
(void) - mapLoader:didFinishResumedInstallWithResult:forMap:
 Called when SYMapLoader::installMapPackage: method is completed. More...
 

Detailed Description

Callback messages sent by the SYMapLoader. The callbacks correspond to specific map loader functionality. Only one delegate may be installed on the map loader at a time, using the setDelegate method.

Method Documentation

◆ mapLoader:didUpdateMapInstallProgress:forMap:

- (void) mapLoader: (nonnull SYMapLoader *)  maploader
didUpdateMapInstallProgress: (nonnull SYMapInstallProgress *)  progress
forMap: (nonnull SYCountryIso *)  map 
optional

Called when progress of SYMapLoader::installMapPackage: method is changed. Progress of MapLoader's Resource file(s) is reported by this callback message. It is represented by the ISO code "xr".

Parameters
maploaderThe SYMapLoader instance sending the callback.
progressThe SYMapInstallProgress containing progress information.
mapThe SYCountryIso for this operation.

◆ mapLoader:didFinishResumedInstallWithResult:forMap:

- (void) mapLoader: (nonnull SYMapLoader *)  maploader
didFinishResumedInstallWithResult: (SYMapLoaderResult)  result
forMap: (nonnull SYCountryIso *)  map 
optional

Called when SYMapLoader::installMapPackage: method is completed.

Parameters
maploaderThe SYMapLoader instance sending the callback.
resultThe SYMapLoaderResult for this operation
mapThe SYCountryIso for this operation.

The documentation for this protocol was generated from the following file: