-
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(AsyncOperationResultCallback) typedef void (^MBMAsyncOperationResultCallback)(MBXExpected<NSNull *, NSString *> * _Nonnull result)Swift
typealias AsyncOperationResultCallback = (MBXExpected) -> Void -
An
offline managermanages downloads and storage for style packages and also produces tileset descriptors for thetile store.All the asynchronous methods calls complete even if the
See moreoffline managerinstance gets out of scope before.Declaration
Objective-C
@interface MBMOfflineManager : NSObjectSwift
class OfflineManager : NSObject -
Describes tile store usage modes.
See moreDeclaration
Objective-C
enum MBMTileStoreUsageMode : NSInteger {}Swift
enum TileStoreUsageMode : Int -
Describes the style package load option values.
See moreDeclaration
Objective-C
@interface MBMTilesetDescriptorOptions : NSObjectSwift
class TilesetDescriptorOptions : NSObject -
The
See morestyle packrepresents a stored style package.Declaration
Objective-C
@interface MBMStylePack : NSObjectSwift
class StylePack : NSObject -
Describes a style package load request error.
See moreDeclaration
Objective-C
@interface MBMStylePackError : NSObjectSwift
class StylePackError : NSObject -
Describes the style package load option values.
See moreDeclaration
Objective-C
@interface MBMStylePackLoadOptions : NSObjectSwift
class StylePackLoadOptions : NSObject -
A
See morestyle pack loadprogress includes information about the number of resources that have completed downloading and the total number of resources that are required.Declaration
Objective-C
@interface MBMStylePackLoadProgress : NSObjectSwift
class StylePackLoadProgress : NSObject -
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(StylePackCallback) typedef void (^MBMStylePackCallback)(MBXExpected<MBMStylePack *, MBMStylePackError *> * _Nonnull stylePack)Swift
typealias StylePackCallback = (MBXExpected) -> Void -
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(StylePacksCallback) typedef void (^MBMStylePacksCallback)(MBXExpected<NSArray<MBMStylePack *> *, MBMStylePackError *> * _Nonnull regions)Swift
typealias StylePacksCallback = (MBXExpected) -> Void -
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(StylePackLoadProgressCallback) typedef void (^MBMStylePackLoadProgressCallback)(MBMStylePackLoadProgress * _Nonnull progress)Swift
typealias StylePackLoadProgressCallback = (MBMStylePackLoadProgress) -> Void -
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(StylePackMetadataCallback) typedef void (^MBMStylePackMetadataCallback)(MBXExpected<id, MBMStylePackError *> * _Nonnull result)Swift
typealias StylePackMetadataCallback = (MBXExpected) -> Void -
Describes the reason for a style package download request failure.
See moreDeclaration
Objective-C
enum MBMStylePackErrorType : NSInteger {}Swift
enum StylePackErrorType : Int -
Undocumented
Declaration
Objective-C
NSString* MBMStylePackErrorTypeToString(MBMStylePackErrorType style_pack_error_type)Swift
func MBMStylePackErrorTypeToString(_ style_pack_error_type: StylePackErrorType) -> String! -
Undocumented
Declaration
Objective-C
NSString* MBMTileStoreUsageModeToString(MBMTileStoreUsageMode tile_store_usage_mode)Swift
func MBMTileStoreUsageModeToString(_ tile_store_usage_mode: TileStoreUsageMode) -> String!
Offline Reference