diff options
Diffstat (limited to 'platform/darwin/src/MGLAccountManager_Private.h')
-rw-r--r-- | platform/darwin/src/MGLAccountManager_Private.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLAccountManager_Private.h b/platform/darwin/src/MGLAccountManager_Private.h index 4644635940..3fd45f1ae8 100644 --- a/platform/darwin/src/MGLAccountManager_Private.h +++ b/platform/darwin/src/MGLAccountManager_Private.h @@ -1,14 +1,23 @@ #import "MGLAccountManager.h" +NS_ASSUME_NONNULL_BEGIN + @interface MGLAccountManager (Private) /// Returns the shared instance of the `MGLAccountManager` class. @property (class, nonatomic, readonly) MGLAccountManager *sharedManager; /// The current global access token. -@property (atomic) NSString *accessToken; +@property (atomic, nullable) NSString *accessToken; /// The API base URL that is used to access Mapbox resources. The default base URL is `https://api.mapbox.com`. If `nil`, the Mapbox default base API URL is in use. -@property (atomic, readwrite) NSURL *apiBaseURL; +@property (atomic, readwrite, nullable) NSURL *apiBaseURL; + +#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR +/// The current global SKU. +@property (class, atomic, readonly) NSString *skuToken; +#endif @end + +NS_ASSUME_NONNULL_END |