FLEXRuntimeExporter.h 866 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // FLEXRuntimeExporter.h
  3. // FLEX
  4. //
  5. // Created by Tanner Bennett on 3/26/20.
  6. // Copyright (c) 2020 FLEX Team. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /// A class for exporting all runtime metadata to an SQLite database.
  11. //API_AVAILABLE(ios(10.0))
  12. @interface FLEXRuntimeExporter : NSObject
  13. + (void)createRuntimeDatabaseAtPath:(NSString *)path
  14. progressHandler:(void(^)(NSString *status))progress
  15. completion:(void(^)(NSString *_Nullable error))completion;
  16. + (void)createRuntimeDatabaseAtPath:(NSString *)path
  17. forImages:(nullable NSArray<NSString *> *)images
  18. progressHandler:(void(^)(NSString *status))progress
  19. completion:(void(^)(NSString *_Nullable error))completion;
  20. @end
  21. NS_ASSUME_NONNULL_END