MMKMapKit(Factory)

extension MMKMapKit

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 [MMKMapKit mapKit] and [MMKMapKit sharedInstance]


setUserId(_:)

class func setUserId(_ id: String)

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


setLocale(_:)

class func setLocale(_ locale: String?)

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


Instance methods

setCompletionHandler(_:forBackgroundURLSession:)

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

Sets completion handler for background URL session.