MBNNTilesetDescriptorFactory.h 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNCacheHandle;
  4. @class MBXTilesetDescriptor;
  5. NS_SWIFT_NAME(TilesetDescriptorFactory)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNTilesetDescriptorFactory : NSObject
  8. /**
  9. * Creates TilesetDescriptor using the specified `dataset` and `version` resolved initially.
  10. * @param dataset TilesetDescriptor dataset name
  11. * @param version TilesetDescriptor version
  12. */
  13. + (nonnull MBXTilesetDescriptor *)buildForDataset:(nonnull NSString *)dataset
  14. version:(nonnull NSString *)version __attribute((ns_returns_retained));
  15. /**
  16. * Gets TilesetDescriptor which corresponds to current Navigator dataset and the specified `version`.
  17. * @param cache cache created with `CacheFactory`
  18. * @param version TilesetDescriptor version
  19. */
  20. + (nonnull MBXTilesetDescriptor *)getSpecificVersionForCache:(nonnull MBNNCacheHandle *)cache
  21. version:(nonnull NSString *)version __attribute((ns_returns_retained));
  22. /**
  23. * Gets TilesetDescriptor which corresponds to the latest availble version of routing tiles.
  24. * Intended for using when creating off-line tile packs.
  25. * @param cache cache created with `CacheFactory`
  26. */
  27. + (nonnull MBXTilesetDescriptor *)getLatestForCache:(nonnull MBNNCacheHandle *)cache __attribute((ns_returns_retained));
  28. @end