YMKMapKit(Factory)

extension YMKMapKit

Summary

Class methods

class func sharedInstance() -> Self

class func setApiKey(_ apiKey: String)
Sets the API key for MapKit SDK

class func setUserId(_ id: String)
Sets the user id for MapKit SDK

class func setLocale(_ locale: String?)
Sets locale for MapKit SDK

Instance methods

func setCompletionHandler(_ completionHandler: @escaping () -> Void,
           forBackgroundURLSession identifier: String)
Sets completion handler for background URL session

Class methods

sharedInstance()

class func sharedInstance() -> Self


setApiKey(_:)

class func setApiKey(_ apiKey: String)

Sets the API key for MapKit SDK. Call this before [YMKMapKit mapKit] and [YMKMapKit sharedInstance]


setUserId(_:)

class func setUserId(_ id: String)

Sets the user id for MapKit SDK. Call this before [YMKMapKit mapKit] and [YMKMapKit sharedInstance]


setLocale(_:)

class func setLocale(_ locale: String?)

Sets locale for MapKit SDK. Call this before [YMKMapKit mapKit] and [YMKMapKit sharedInstance]


Instance methods

setCompletionHandler(_:forBackgroundURLSession:)

func setCompletionHandler(_ completionHandler: @escaping () -> Void,
           forBackgroundURLSession identifier: String)

Sets completion handler for background URL session.