#import <SYOnlineSession.h>
◆ sharedSession
◆ __attribute__ [1/2]
◆ __attribute__ [2/2]
◆ setOnlineMapsDisabledWithCompletion:
| - (nonnull SYTask*) setOnlineMapsDisabledWithCompletion: |
|
(nonnull void(^)(SYMapStreamingError *_Nullable error)) |
completion |
|
◆ setOnlineMapsEnabledWithCompletion:
| - (nonnull SYTask*) setOnlineMapsEnabledWithCompletion: |
|
(nonnull void(^)(SYMapStreamingError *_Nullable error)) |
completion |
|
◆ getActiveMapProviderWithCompletion:
| - (void) getActiveMapProviderWithCompletion: |
|
(nonnull SYOnlineGetActiveProviderCompletionBlock) |
completion |
|
Fetch currently active Online Map Provider.
- Parameters
-
| completion | Completion block called after the fetch operation is complete. Called with a provider on success, with error code on error. |
◆ getAvailableMapProvidersWithCompletion:
| - (void) getAvailableMapProvidersWithCompletion: |
|
(nonnull SYOnlineGetAvailableProvidersCompletionBlock) |
completion |
|
Fetch Online Map Providers currently available.
- Parameters
-
| completion | Completion block called after the fetch operation is complete. Called with list of providers on success, with error code on error. |
◆ setActiveMapProvider:completion:
| - (void) setActiveMapProvider: |
|
(nonnull SYMapProvider *) |
provider |
| completion: |
|
(nonnull SYOnlineSetProviderCompletionBlock) |
completion |
|
|
| |
Set active Map Provider. Does nothing if the currently active provider is the same as desired one.
- Parameters
-
| provider | Desired Map Provider, to which the SDK shall switch. Must be one of the providers returned by [getAvailableProviders]. |
| completion | Completion block called after the set operation is complete. |
◆ onlineMapsEnabled
| - (BOOL) onlineMapsEnabled |
|
readnonatomicassign |
Indicates whether Sygic SDK is allowed to access online maps services.
The documentation for this class was generated from the following file: