SKMapVersioningDelegate Protocol Reference

Conforms to NSObject
Declared in SKMapVersioningDelegate.h

Overview

The delegate of the SKMapsVersioningManager must adopt the SKMapVersioningDelegate protocol. The SKMapVersioningDelegate protocol is used to receive callbacks related to map versioning.

– mapsVersioningManager:detectedNewAvailableMapVersion:currentMapVersion:

Called when a new map version is available on the server.

- (void)mapsVersioningManager:(SKMapsVersioningManager *)versioningManager detectedNewAvailableMapVersion:(NSString *)latestMapVersion currentMapVersion:(NSString *)currentMapVersion

Parameters

versioningManager

The map versioning manager.

latestMapVersion

The latest available map version.

currentMapVersion

The map version the library currently uses.

Discussion

Called when a new map version is available on the server.

Declared In

SKMapVersioningDelegate.h

– mapsVersioningManager:loadedWithOfflinePackages:updatablePackages:

Called when the user has map packages that can be updated.

- (void)mapsVersioningManager:(SKMapsVersioningManager *)versioningManager loadedWithOfflinePackages:(NSArray *)packages updatablePackages:(NSArray *)updatablePackages

Parameters

versioningManager

The map versioning manager.

packages

The offline packages that are installed on the device.

updatablePackages

The installed offline packages that can be updated.

Discussion

Called when the user has map packages that can be updated.

Declared In

SKMapVersioningDelegate.h

– mapsVersioningManager:loadedWithMapVersion:

Called when the current map version is determined.

- (void)mapsVersioningManager:(SKMapsVersioningManager *)versioningManager loadedWithMapVersion:(NSString *)currentMapVersion

Parameters

versioningManager

The map versioning manager.

currentMapVersion

The map version the library currently uses.

Discussion

Called when the current map version is determined.

Declared In

SKMapVersioningDelegate.h

– mapsVersioningManagerLoadedMetadata:

Called when the metadata of the map was successfully loaded.

- (void)mapsVersioningManagerLoadedMetadata:(SKMapsVersioningManager *)versioningManager

Parameters

versioningManager

The map versioning manager.

Discussion

Called when the metadata of the map was successfully loaded.

Declared In

SKMapVersioningDelegate.h