-
Structure to hold error information about download request.
See moreDeclaration
Objective-C
@interface MBXDownloadError : NSObject
-
Enum which represents different error cases which could happen during download session.
See moreDeclaration
Objective-C
enum MBXDownloadErrorCode {}
-
Structure to configure download session.
See moreDeclaration
Objective-C
@interface MBXDownloadOptions : NSObject
-
Enum representing state of download session.
See moreDeclaration
Objective-C
enum MBXDownloadState {}
-
Structure to hold current status information about ongoing download session.
See moreDeclaration
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 moreDeclaration
Objective-C
enum MBXHttpMethod {}
-
HttpRequest holds basic information for construction of an HTTP request
See moreDeclaration
Objective-C
@interface MBXHttpRequest : NSObject
-
Record which contains detailed information about HTTP error happened during request/download call.
See moreDeclaration
Objective-C
@interface MBXHttpRequestError : NSObject
-
Enum which describes possible error types which could happen during HTTP request/download calls.
See moreDeclaration
Objective-C
enum MBXHttpRequestErrorType {}
-
Record which is used to report HTTP response to the caller.
See moreDeclaration
Objective-C
@interface MBXHttpResponse : NSObject
-
Record which contains data received in HTTP response.
See moreDeclaration
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
See moresetUserDefined()
method once before any actual HTTP service is required.Declaration
Objective-C
@interface MBXHttpServiceFactory : NSObject
-
Classify network types based on cost.
See moreDeclaration
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:
- Application Name and version - appName/appVersion.
- 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.
- SDK Name and Version - sdkName/sdkVersion.
- 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 moreDeclaration
Objective-C
@interface MBXUAComponents : NSObject