MBXResourceLoadError_Internal.h 877 B

123456789101112131415161718192021222324
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxCommon/MBXResourceLoadErrorType_Internal.h>
  4. NS_SWIFT_NAME(ResourceLoadError)
  5. __attribute__((visibility ("default")))
  6. @interface MBXResourceLoadError : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithType:(MBXResourceLoadErrorType)type
  12. message:(nonnull NSString *)message
  13. transferredBytes:(uint64_t)transferredBytes;
  14. @property (nonatomic, readonly) MBXResourceLoadErrorType type;
  15. @property (nonatomic, readonly, nonnull, copy) NSString *message;
  16. @property (nonatomic, readonly) uint64_t transferredBytes;
  17. @end