Container
Central object for accessing iOS Mobile SDK features.
public required init(
keySource: KeySource = .default,
logOptions: LogOptions = .default,
httpClientForRequest: IHTTPClient? = nil,
httpOptions: HttpOptions = HttpOptions(),
locationProvider: ILocationProvider? = nil,
magneticHeadingProvider: IMagneticHeadingProvider? = nil,
personalDataCollectionOptions: PersonalDataCollectionOptions = .default,
vendorConfig: VendorConfig = .none
)
Container builder.
keySource
KeySource
Settings of the key to access 2GIS services.
logOptions
LogOptions
Logging settings.
httpClientForRequest
IHTTPClient?
Network client for sending HTTP requests.
httpOptions
HttpOptions
HTTP client settings (such as caching).
locationProvider
ILocationProvider?
Geolocation source. If nil is passed, the default source is used.
magneticHeadingProvider
IMagneticHeadingProvider?
Source of a magnetic needle heading.
personalDataCollectionOptions
PersonalDataCollectionOptions
Data collection service settings.
vendorConfig
VendorConfig
Overwrites settings for working in an autonomous environment.
Root opaque SDK object container. Used as an argument to the SDK API.
UIView marker factory for map.
Constructor of standard and custom styles.
Factory of directory search engines.
Factory of map data sources.
Factory of map object images.
Manager of application locale settings.
Current ILocationService implementation used within the SDK and working via ILocationProvider.
HTTP client settings.
Object for configuring sounds.