Use this object to configure SDK initialization. More...
#import <SYContext.h>
NSDictionary * | configuration |
Configuration data, you can find complete configuration scheme here: https://www.sygic.com/developers/sygic-maps-sdk/sdk-configuration/full-json-configuration/full-json-example Simple example: NSDictionary* config ="Authentication":
@"app_key" : @"your-app-key"} };. More... | |
BOOL | loadMaps |
If true, SDK will automatically load all installed maps. If false, SDK takes less time to initialize, maps can be loaded manually after initialization, see SYMapLoader. Default value: true. More... | |
BOOL | clearOnlineCache |
Flag indicating whether cache for online services shall be cleared. Should be set to true if the license could have changed (e.g. user made some purchase, etc.). Should be set to false otherwise. Default value: false. More... | |
id< SYLogConnectorDelegate > | logConnectorDelegate |
An object implementing SYLogConnectorDelegate protocol. This property keeps a strong reference, but after initialization the SDK will keep a weak reference to this object. This object will be set to SYLogConnector.shared.delegate as soon as possible to provide logs during SDK initialization. Requires "Logging" key to be set properly in configuration, otherwise it will not receive messages. See SYLogConnectorDelegate for more details. More... | |
id< SYAuthProvider > | authProvider |
Provider of authentication headers for Sygic online services network communication. If this property is nil, default implementation will be used, and configuration must contain a value for "Authentication" key. If this property is not nil, "Authentication" value in configuration will be ignored. Default value is nil. See SYAuthProvider for more details. More... | |
(nonnull instancetype) | - initWithConfiguration: |
((unavailable("Use -[SYContextInitRequest initWithConfiguration:] instead.") | - __attribute__ |
((unavailable("Use -[SYContextInitRequest initWithConfiguration:] instead.") | + __attribute__ |
Use this object to configure SDK initialization.
- (nonnull instancetype) initWithConfiguration: | (nonnull NSDictionary *) | configuration |
- ((unavailable("Use -[SYContextInitRequest) initWithConfiguration: |
+ ((unavailable("Use -[SYContextInitRequest) initWithConfiguration: |
|
readwritenonatomicassign |
Configuration data, you can find complete configuration scheme here: https://www.sygic.com/developers/sygic-maps-sdk/sdk-configuration/full-json-configuration/full-json-example Simple example: NSDictionary* config ="Authentication": @"app_key" : @"your-app-key"} };.
|
readwritenonatomicassign |
If true, SDK will automatically load all installed maps. If false, SDK takes less time to initialize, maps can be loaded manually after initialization, see SYMapLoader. Default value: true.
|
readwritenonatomicassign |
Flag indicating whether cache for online services shall be cleared. Should be set to true if the license could have changed (e.g. user made some purchase, etc.). Should be set to false otherwise. Default value: false.
|
readwritenonatomicstrong |
An object implementing SYLogConnectorDelegate protocol. This property keeps a strong reference, but after initialization the SDK will keep a weak reference to this object. This object will be set to SYLogConnector.shared.delegate as soon as possible to provide logs during SDK initialization. Requires "Logging" key to be set properly in configuration, otherwise it will not receive messages. See SYLogConnectorDelegate for more details.
|
readwritenonatomicstrong |
Provider of authentication headers for Sygic online services network communication. If this property is nil, default implementation will be used, and configuration must contain a value for "Authentication" key. If this property is not nil, "Authentication" value in configuration will be ignored. Default value is nil. See SYAuthProvider for more details.