• Structure to hold error information about download request.

    See more

    Declaration

    Objective-C

    
    @interface MBXDownloadError : NSObject
  • Enum which represents different error cases which could happen during download session.

    See more

    Declaration

    Objective-C

    enum MBXDownloadErrorCode {}
  • Structure to configure download session.

    See more

    Declaration

    Objective-C

    
    @interface MBXDownloadOptions : NSObject
  • Enum representing state of download session.

    See more

    Declaration

    Objective-C

    enum MBXDownloadState {}
  • Structure to hold current status information about ongoing download session.

    See more

    Declaration

    Objective-C

    
    @interface MBXDownloadStatus : NSObject
  • HTTP defines a set of request methods to indicate the desired action to be performed for a given resource.

    See more

    Declaration

    Objective-C

    enum MBXHttpMethod {}
  • HttpRequest holds basic information for construction of an HTTP request

    See more

    Declaration

    Objective-C

    
    @interface MBXHttpRequest : NSObject
  • Record which contains detailed information about HTTP error happened during request/download call.

    See more

    Declaration

    Objective-C

    
    @interface MBXHttpRequestError : NSObject
  • Enum which describes possible error types which could happen during HTTP request/download calls.

    See more

    Declaration

    Objective-C

    enum MBXHttpRequestErrorType {}
  • Record which is used to report HTTP response to the caller.

    See more

    Declaration

    Objective-C

    
    @interface MBXHttpResponse : NSObject
  • Record which contains data received in HTTP response.

    See more

    Declaration

    Objective-C

    
    @interface MBXHttpResponseData : NSObject
  • HTTP service factory.

    This class is used to get a pointer/reference to HTTP service platform implementation. In order to set a custom implementation, the client must call setUserDefined() method once before any actual HTTP service is required.

    See more

    Declaration

    Objective-C

    
    @interface MBXHttpServiceFactory : NSObject
  • Classify network types based on cost.

    See more

    Declaration

    Objective-C

    enum MBXNetworkRestriction {}
  • UAComponents holds Application and SDK information for generating User-Agent string.

    The UA string itself is broken down into four components:

    1. Application Name and version - appName/appVersion.
    2. Application Identifier and OS Information - (appIdentifier; appBuildNumber; osName osVersion). This will be skipped from UA string, if any one of the field is empty or unknown.
    3. SDK Name and Version - sdkName/sdkVersion.
    4. SDK Identifier - (sdkIdentifier; sdkBuildNumber). This will be skipped from UA string, if any one of the field is empty or unknown.

    User Agent String Example: AppName/1.0 (app.bundle.identifier; v1; iOS 13.0.1) MapboxFramework/1.0 (framework.bundle.identifier; v1) Mapbox Common Library/v1.0.0

    Note that if the User-Agent is already part of the HTTP request headers, we skip the generation using the information provided through the UserAgentComponents.

    See more

    Declaration

    Objective-C

    
    @interface MBXUAComponents : NSObject