xref: /expo/ios/Exponent/Kernel/Services/EXCachedResourceManager.h (revision aa1f6391)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015-present 650 Industries. All rights reserved.
2 
3 #import <UIKit/UIKit.h>
4 
5 #import "EXCachedResource.h"
6 
7 NS_ASSUME_NONNULL_BEGIN
8 
9 @protocol EXCachedResourceManagerScopedModuleDelegate
10 
11 - (id)createCachedResourceWithName:(NSString *)resourceName
12                       resourceType:(NSString *)resourceType
13                          remoteUrl:(NSURL *)url
14                          cachePath:(NSString * _Nullable)cachePath;
15 
16 @end
17 
18 /**
19  * Used to create instances of EXCachedResource in versioned code.
20  */
21 @interface EXCachedResourceManager : NSObject <EXCachedResourceManagerScopedModuleDelegate>
22 
23 - (EXCachedResource *)createCachedResourceWithName:(NSString *)resourceName
24                                       resourceType:(NSString *)resourceType
25                                          remoteUrl:(NSURL *)url
26                                          cachePath:(NSString * _Nullable)cachePath;
27 
28 @end
29 
30 NS_ASSUME_NONNULL_END
31 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025