MBXDownloadStatus_Internal.h 1.3 KB

1234567891011121314151617181920
  1. // This file is generated and will be overwritten automatically.
  2. #import <MapboxCommon/MBXDownloadStatus.h>
  3. @interface MBXDownloadStatus ()
  4. - (nonnull instancetype)initWithDownloadId:(uint64_t)downloadId
  5. state:(MBXDownloadState)state
  6. error:(nullable MBXDownloadError *)error
  7. totalBytes:(nullable NSNumber *)totalBytes
  8. receivedBytes:(uint64_t)receivedBytes
  9. transferredBytes:(uint64_t)transferredBytes
  10. downloadOptions:(nonnull MBXDownloadOptions *)downloadOptions
  11. httpResult:(nullable MBXExpected<MBXHttpResponseData *, MBXHttpRequestError *> *)httpResult NS_REFINED_FOR_SWIFT;
  12. - (nonnull instancetype)initWithError:(nullable MBXDownloadError *)error
  13. totalBytes:(nullable NSNumber *)totalBytes
  14. downloadOptions:(nonnull MBXDownloadOptions *)downloadOptions
  15. httpResult:(nullable MBXExpected<MBXHttpResponseData *, MBXHttpRequestError *> *)httpResult NS_REFINED_FOR_SWIFT;
  16. @property (nonatomic, readwrite, nullable) MBXExpected<MBXHttpResponseData *, MBXHttpRequestError *> *httpResult NS_REFINED_FOR_SWIFT;
  17. @end