• Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(AsyncOperationResultCallback)
    typedef void (^MBMAsyncOperationResultCallback)(MBXExpected<NSNull *, NSString *> * _Nonnull result)

    Swift

    typealias AsyncOperationResultCallback = (MBXExpected) -> Void
  • An offline manager manages downloads and storage for style packages and also produces tileset descriptors for the tile store.

    All the asynchronous methods calls complete even if the offline manager instance gets out of scope before.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineManager : NSObject

    Swift

    class OfflineManager : NSObject
  • Describes tile store usage modes.

    See more

    Declaration

    Objective-C

    enum MBMTileStoreUsageMode : NSInteger {}

    Swift

    enum TileStoreUsageMode : Int
  • Describes the style package load option values for a style.

    See more

    Declaration

    Objective-C

    
    @interface MBMTilesetDescriptorOptions : NSObject

    Swift

    class TilesetDescriptorOptions : NSObject
  • The style pack represents a stored style package.

    See more

    Declaration

    Objective-C

    
    @interface MBMStylePack : NSObject

    Swift

    class StylePack : NSObject
  • Describes a style package load request error.

    See more

    Declaration

    Objective-C

    
    @interface MBMStylePackError : NSObject

    Swift

    class StylePackError : NSObject
  • Describes the style package load option values.

    See more

    Declaration

    Objective-C

    
    @interface MBMStylePackLoadOptions : NSObject

    Swift

    class StylePackLoadOptions : NSObject
  • A style pack load progress includes information about the number of resources that have completed downloading and the total number of resources that are required.

    See more

    Declaration

    Objective-C

    
    @interface MBMStylePackLoadProgress : NSObject

    Swift

    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 more

    Declaration

    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!