MBNNCacheFactory.h 934 B

123456789101112131415161718192021222324
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNCacheHandle;
  4. @class MBNNConfigHandle;
  5. @class MBNNHistoryRecorderHandle;
  6. @class MBNNTilesConfig;
  7. NS_SWIFT_NAME(CacheFactory)
  8. __attribute__((visibility ("default")))
  9. @interface MBNNCacheFactory : NSObject
  10. /**
  11. * Builds which can be re-used in various instances
  12. * @param tilesConfig Configuration for tiles host, version, cache folder etc.
  13. * @param config Config created with `ConfigFactory`
  14. * @param historyRecorder History recorder created with `HistoryRecorderHandle.build` method
  15. */
  16. + (nonnull MBNNCacheHandle *)buildForTilesConfig:(nonnull MBNNTilesConfig *)tilesConfig
  17. config:(nonnull MBNNConfigHandle *)config
  18. historyRecorder:(nullable MBNNHistoryRecorderHandle *)historyRecorder __attribute((ns_returns_retained));
  19. @end