MBNNTilesConfig.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNTileEndpointConfiguration;
  4. @class MBXTileStore;
  5. NS_SWIFT_NAME(TilesConfig)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNTilesConfig : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithTilesPath:(nonnull NSString *)tilesPath
  13. tileStore:(nullable MBXTileStore *)tileStore
  14. inMemoryTileCache:(nullable NSNumber *)inMemoryTileCache
  15. onDiskTileCache:(nullable NSNumber *)onDiskTileCache
  16. mapMatchingSpatialCache:(nullable NSNumber *)mapMatchingSpatialCache
  17. threadsCount:(nullable NSNumber *)threadsCount
  18. endpointConfig:(nullable MBNNTileEndpointConfiguration *)endpointConfig;
  19. /** Local directory with routing tiles for a cache. If empty, no tiles on disk will be read/written */
  20. @property (nonatomic, readonly, nonnull, copy) NSString *tilesPath;
  21. /** TileStore instance providing routing tiles */
  22. @property (nonatomic, readonly, nullable) MBXTileStore *tileStore;
  23. /** Advisory size of the peak memory use by routing tiles */
  24. @property (nonatomic, readonly, nullable) NSNumber *inMemoryTileCache;
  25. /** Disk quota for routing tiles stored on the disk */
  26. @property (nonatomic, readonly, nullable) NSNumber *onDiskTileCache;
  27. /** Obsolete; Not in use */
  28. @property (nonatomic, readonly, nullable) NSNumber *mapMatchingSpatialCache;
  29. /** Was used with curler implementation in Valhalla. Not in use */
  30. @property (nonatomic, readonly, nullable) NSNumber *threadsCount;
  31. /** API routing tiles configuration. If not set, no network requests will be made to ART */
  32. @property (nonatomic, readonly, nullable) MBNNTileEndpointConfiguration *endpointConfig;
  33. @end