SKMapsService Class Reference

Inherits from NSObject
Declared in SKMapsService.h

Overview

SKMapsService class provides support for general settings and management that concerns the whole SKMaps framework behavior. In order to be used, the library needs several metadata files that will be downloaded on the first initialization. When this is done, a kSKMapsMetadataLoadedNotification NSNotification is posted.

+ sharedInstance

Returns the singleton instance of the SKMapsService class.

+ (instancetype)sharedInstance

Discussion

Returns the singleton instance of the SKMapsService class.

Declared In

SKMapsService.h

– initializeSKMapsWithAPIKey:settings:

Initializes the SKMaps framework with an API key and settings. Should be called once, usually when the application starts (application:didFinishLaunchingWithOptions: method from the AppDelegate).

- (void)initializeSKMapsWithAPIKey:(NSString *)apiKey settings:(SKMapsInitSettings *)initSettings

Parameters

apiKey

The unique developer API key. If the apiKey is not valid, the library will not be usable.

initSettings

The initial configuration. For further details check the SKMapsInitSettings documentation. If nil, default settings wil be used.

Discussion

Initializes the SKMaps framework with an API key and settings. Should be called once, usually when the application starts (application:didFinishLaunchingWithOptions: method from the AppDelegate).

Declared In

SKMapsService.h

  packagesManager

The manager that handles the offline map packages. For further details check the SKOfflinePackagesManager documentation.

@property (nonatomic, readonly, strong) SKOfflinePackagesManager *packagesManager

Discussion

The manager that handles the offline map packages. For further details check the SKOfflinePackagesManager documentation.

Declared In

SKMapsService.h

  tilesCacheManager

The manager that handles the tiles cache. For further details check the SKTilesCacheManager documentation.

@property (nonatomic, readonly, strong) SKTilesCacheManager *tilesCacheManager

Discussion

The manager that handles the tiles cache. For further details check the SKTilesCacheManager documentation.

Declared In

SKMapsService.h

  mapsVersioningManager

The manager that handles the maps versioning. For further details check the SKMapsVersioningManager documentation.

@property (nonatomic, readonly, strong) SKMapsVersioningManager *mapsVersioningManager

Discussion

The manager that handles the maps versioning. For further details check the SKMapsVersioningManager documentation.

Declared In

SKMapsService.h

  connectivityMode

The framework’s general connectivity mode (online or offline). If set to offline, no server requests will be sent and no data will be downloaded. The default value is SKConnectivityModeOnline.

@property (nonatomic, assign) SKConnectivityMode connectivityMode

Discussion

The framework’s general connectivity mode (online or offline). If set to offline, no server requests will be sent and no data will be downloaded. The default value is SKConnectivityModeOnline.

Declared In

SKMapsService.h

  proxySettings

The proxy that will be used to download data. If nil, any proxy previously set will be disabled.

@property (nonatomic, strong) SKProxySettings *proxySettings

Discussion

The proxy that will be used to download data. If nil, any proxy previously set will be disabled.

Declared In

SKMapsService.h

  enableFCD

Enables the recording of floating car data. By default is NO.

@property (nonatomic, assign) BOOL enableFCD

Discussion

Enables the recording of floating car data. By default is NO.

Declared In

SKMapsService.h

  mapURL

The map base URL that the SDK connects to.

@property (nonatomic, strong) NSString *mapURL

Discussion

The map base URL that the SDK connects to.

Declared In

SKMapsService.h

  versionFile

The name of the version file the SDK uses.

@property (nonatomic, strong) NSString *versionFile

Discussion

The name of the version file the SDK uses.

Declared In

SKMapsService.h

  coreVersion

The version of the C++ library that the SDK uses.

@property (nonatomic, readonly, strong) NSString *coreVersion

Discussion

The version of the C++ library that the SDK uses.

Declared In

SKMapsService.h

  apiKey

The developer API key used to initialize the framework.

@property (nonatomic, readonly, strong) NSString *apiKey

Discussion

The developer API key used to initialize the framework.

Declared In

SKMapsService.h

  obfuscatedAPIKey

The obfuscated developer API key.

@property (nonatomic, readonly, strong) NSString *obfuscatedAPIKey

Discussion

The obfuscated developer API key.

Declared In

SKMapsService.h

  frameworkVersion

Version of the framework in use.

@property (nonatomic, readonly, strong) NSString *frameworkVersion

Discussion

Version of the framework in use.

Declared In

SKMapsService.h

  mapEnvironment

The server that the framework connects to.

@property (nonatomic, readonly, strong) NSString *mapEnvironment

Discussion

The server that the framework connects to.

Declared In

SKMapsService.h