Use this interface to set mandatory authentication credentials. You have to set authentication credentials (API key and optionally App Secret code) in order to use the APIs contained within this SDK. Some APIs may appear to work without valid credentials but they may stop functioning in the near future when server side configurations change, so please obtain and use valid credentials.
More...
#import <SYContext.h>
|
|
(void) | + initWithConfiguration:withCompletion: |
| Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions]. More...
|
|
(void) | + initWithConfiguration:logConnectorDelegate:completion: |
| Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions]. More...
|
|
(void) | + initWithRequest:completion: |
| Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions]. More...
|
|
(void) | + terminate |
| Terminates Sygic SDK. More...
|
|
(BOOL) | + isInitialized |
| Check if Sygic SDK is initialized. More...
|
|
(nonnull NSString *) | + sdkVersion |
|
Use this interface to set mandatory authentication credentials. You have to set authentication credentials (API key and optionally App Secret code) in order to use the APIs contained within this SDK. Some APIs may appear to work without valid credentials but they may stop functioning in the near future when server side configurations change, so please obtain and use valid credentials.
◆ initWithConfiguration:withCompletion:
+ (void) initWithConfiguration: |
|
(nonnull NSDictionary *) |
configuration |
withCompletion: |
|
("initWithConfiguration is) |
deprecated |
|
|
(use initWithRequest instead") |
__deprecated_msg |
|
|
| |
Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions].
- Parameters
-
◆ initWithConfiguration:logConnectorDelegate:completion:
+ (void) initWithConfiguration: |
|
(nonnull NSDictionary *) |
configuration |
logConnectorDelegate: |
|
(nullable id< SYLogConnectorDelegate >) |
logConnectorDelegate |
completion: |
|
("initWithConfiguration is) |
deprecated |
|
|
(use initWithRequest instead") |
__deprecated_msg |
|
|
| |
Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions].
- Parameters
-
◆ initWithRequest:completion:
+ (void) initWithRequest: |
|
(nonnull SYContextInitRequest *) |
request |
completion: |
|
(initWithRequest(_:completion:)) |
NS_SWIFT_NAME |
|
|
| |
Initializes Sygic SDK, must be called before any other SDK calls. If called more than once, behavior is undefined. It's recommended to call this method in [UIApplicationDelegate didFinishLaunchingWithOptions].
- Parameters
-
request | Request object containing initialization configuration. |
completion | Initialization completion block. |
◆ terminate
◆ isInitialized
Check if Sygic SDK is initialized.
- Returns
- YES if Sygic SDK is initialized, otherwise NO. If NO is returned then the Sygic SDK is not ready to handle any service.
◆ sdkVersion
+ (nonnull NSString*) sdkVersion |
|
|
|
SDK version in format MAJOR.MINOR.PATCH.
The documentation for this class was generated from the following file: