Container
Central object for accessing iOS Mobile SDK features.
public convenience init(
apiKeyOptions: ApiKeyOptions = .default,
logOptions: LogOptions = .default,
httpClientForRequest: IHTTPClient? = nil,
httpOptions: HTTPOptions = .default,
positioningServices: IPositioningServicesFactory = PlatformPositioningServicesFactory(),
batteryOptions: BatteryOptions = .default,
personalDataCollectionOptions: PersonalDataCollectionOptions = .default,
localizationOptions: LocalizationOptions = .default,
audioOptions: AudioOptions = .default,
vendorConfigFile: File? = nil
)
Container constructor.
apiKeyOptions
ApiKeyOptions
Key settings for accessing 2GIS services.
logOptions
LogOptions
Journaling settings.
httpClientForRequest
IHTTPClient?
Network client for sending HTTP requests.
httpOptions
HTTPOptions
HTTP client settings (such as caching).
positioningServices
IPositioningServicesFactory
Geo-positioning services.
batteryOptions
personalDataCollectionOptions
PersonalDataCollectionOptions
Data collection service settings.
localizationOptions
LocalizationOptions
Application localization settings.
audioOptions
AudioOptions
Sound settings.
vendorConfigFile
File?
Overrides settings for working in an offline environment.
Root opaque SDK object container. Used as an argument to the SDK API.
Directory search engine factory.
Map data source factory.
Image factory for map objects.
UIView marker factory for map.
Current ILocationService implementation used within the SDK and working via ILocationProvider.
Route editor factory.
Sound settings.
HTTP client settings.
Battery tracking settings.
Application localization settings.