| 123456789101112131415161718192021222324252627 |
- // This file is generated and will be overwritten automatically.
- #import <Foundation/Foundation.h>
- #import <MapboxCommon/MBXDownloadErrorCode.h>
- /** Structure to hold error information about download request. */
- NS_SWIFT_NAME(DownloadError)
- __attribute__((visibility ("default")))
- @interface MBXDownloadError : NSObject
- // This class provides custom init which should be called
- - (nonnull instancetype)init NS_UNAVAILABLE;
- // This class provides custom init which should be called
- + (nonnull instancetype)new NS_UNAVAILABLE;
- - (nonnull instancetype)initWithCode:(MBXDownloadErrorCode)code
- message:(nonnull NSString *)message;
- /** Download error code. */
- @property (nonatomic, readonly) MBXDownloadErrorCode code;
- /** Human readable string describing an error. */
- @property (nonatomic, readonly, nonnull, copy) NSString *message;
- @end
|