MBMRenderCacheOptions.h 919 B

1234567891011121314151617181920212223242526
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Parameters that defines behavior of the render cache. */
  4. NS_SWIFT_NAME(RenderCacheOptions)
  5. __attribute__((visibility ("default")))
  6. @interface MBMRenderCacheOptions : 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)initWithSize:(nullable NSNumber *)size NS_REFINED_FOR_SWIFT;
  12. /**
  13. * Maximum size allocated for the render cache in megabytes. Setting the value to zero will effectively disable the feature.
  14. *
  15. * Recommended starting values for the cache sizes are 64 and 128 for devices with pixel ratio 1.0 and > 1.0 respectively.
  16. */
  17. @property (nonatomic, readonly, nullable) NSNumber *size NS_REFINED_FOR_SWIFT;
  18. @end