MMKMapKit(Factory)
@interface MMKMapKit (Factory) |
Summary
Class methods
+ (nonnull instancetype)mapKit; |
+ (nonnull instancetype)sharedInstance; |
+ (void)setApiKey:(nonnull NSString *)apiKey; |
+ (void)setUserId:(nonnull NSString *)id; |
+ (void)setLocale:(nullable NSString *)locale; |
Instance methods
- (void)setCompletionHandler:(nonnull void (^)(void))completionHandler |
Class methods
mapKit
+ (nonnull instancetype)mapKit; |
Gets the MapKit instance.
sharedInstance
+ (nonnull instancetype)sharedInstance; |
setApiKey:
+ (void)setApiKey:(nonnull NSString *)apiKey; |
Sets the API key for MapKit SDK. Call this before [MMKMapKit mapKit] and [MMKMapKit sharedInstance]
setUserId:
+ (void)setUserId:(nonnull NSString *)id; |
Sets the user id for MapKit SDK. Call this before [MMKMapKit mapKit] and [MMKMapKit sharedInstance]
setLocale:
+ (void)setLocale:(nullable NSString *)locale; |
Sets locale for MapKit SDK. Call this before [MMKMapKit mapKit] and [MMKMapKit sharedInstance]
Instance methods
setCompletionHandler:forBackgroundURLSession:
- (void)setCompletionHandler:(nonnull void (^)(void))completionHandler |
Sets completion handler for background URL session.