MBXDeferredDeliveryServiceOptions_Internal.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxCommon/MBXDeferredDeliveryOverflowPolicy_Internal.h>
  4. NS_SWIFT_NAME(DeferredDeliveryServiceOptions)
  5. __attribute__((visibility ("default")))
  6. @interface MBXDeferredDeliveryServiceOptions : 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)initWithBatchLengthToFlush:(uint64_t)batchLengthToFlush
  12. batchFlushTimeout:(uint64_t)batchFlushTimeout
  13. memoryQueueMaxLength:(nullable NSNumber *)memoryQueueMaxLength
  14. memoryQueueLengthToFlush:(uint64_t)memoryQueueLengthToFlush
  15. memoryQueueFlushTimeout:(uint64_t)memoryQueueFlushTimeout
  16. memoryQueueOverflowPolicy:(MBXDeferredDeliveryOverflowPolicy)memoryQueueOverflowPolicy
  17. persistentQueueMaxLength:(nullable NSNumber *)persistentQueueMaxLength
  18. persistentQueueLengthToFlush:(uint64_t)persistentQueueLengthToFlush
  19. persistentQueueFlushTimeout:(uint64_t)persistentQueueFlushTimeout
  20. persistentQueueOverflowPolicy:(MBXDeferredDeliveryOverflowPolicy)persistentQueueOverflowPolicy
  21. dataStoragePath:(nullable NSString *)dataStoragePath
  22. maxStorageUsage:(nullable NSNumber *)maxStorageUsage
  23. storageOverflowPolicy:(MBXDeferredDeliveryOverflowPolicy)storageOverflowPolicy;
  24. @property (nonatomic, readonly) uint64_t batchLengthToFlush;
  25. @property (nonatomic, readonly) uint64_t batchFlushTimeout;
  26. @property (nonatomic, readonly, nullable) NSNumber *memoryQueueMaxLength;
  27. @property (nonatomic, readonly) uint64_t memoryQueueLengthToFlush;
  28. @property (nonatomic, readonly) uint64_t memoryQueueFlushTimeout;
  29. @property (nonatomic, readonly) MBXDeferredDeliveryOverflowPolicy memoryQueueOverflowPolicy;
  30. @property (nonatomic, readonly, nullable) NSNumber *persistentQueueMaxLength;
  31. @property (nonatomic, readonly) uint64_t persistentQueueLengthToFlush;
  32. @property (nonatomic, readonly) uint64_t persistentQueueFlushTimeout;
  33. @property (nonatomic, readonly) MBXDeferredDeliveryOverflowPolicy persistentQueueOverflowPolicy;
  34. @property (nonatomic, readonly, nullable, copy) NSString *dataStoragePath;
  35. @property (nonatomic, readonly, nullable) NSNumber *maxStorageUsage;
  36. @property (nonatomic, readonly) MBXDeferredDeliveryOverflowPolicy storageOverflowPolicy;
  37. - (BOOL)isEqualToDeferredDeliveryServiceOptions:(nonnull MBXDeferredDeliveryServiceOptions *)other;
  38. @end