9#import <Foundation/Foundation.h>
15NS_ASSUME_NONNULL_BEGIN
77@protocol NIMResourceManager <NSObject>
85- (void)upload:(NSString *)filepath
97- (void)upload:(NSString *)filepath
98 scene:(nonnull NSString *)scene
111- (void)upload:(NSString * _Nonnull)filepath
112 scene:(nullable NSString *)scene
113 md5:(nullable NSString *)md5
125- (void)upload:(NSString * _Nonnull)filepath
130- (void)checkFileQuickTransfer:(NSString *)MD5
131 fileSize:(uint64_t)size
143- (void)download:(NSString *)urlString
144 filepath:(NSString *)filepath
157- (void)download:(NSString *)urlString
158 filepath:(NSString *)filepath
173- (void)download:(NSString *)urlString
174 filepath:(NSString *)filepath
186- (void)cancelTask:(NSString *)filepath;
195- (NSString *)normalizeURLString:(NSString *)urlString;
204- (NSString *)convertHttpToHttps:(NSString *)urlString;
212- (NSString *)convertURLToAcceleratedURL:(NSString *)urlString;
221- (NSString *)imageThumbnailURL:(NSString *)urlString;
229- (NSString *)videoThumbnailURL:(NSString *)urlString;
258- (void)fetchNOSURLWithURL:(NSString *)shortCode
270- (void)fetchNOSURLWithURL:(NSString *)shortCode
271 roomId:(NSString * _Nullable)roomId
void(^ NIMDownloadCompleteBlock)(NSError *__nullable error)
Definition: NIMResourceManagerProtocol.h:65
void(^ NIMFileQuickTransferCompleteBlock)(NSString *__nullable urlString, NSInteger threshold, NSError *__nullable error)
Definition: NIMResourceManagerProtocol.h:49
void(^ NIMHttpProgressBlock)(float progress)
Definition: NIMResourceManagerProtocol.h:57
NS_ASSUME_NONNULL_BEGIN typedef void(^ NIMResourceSearchHandler)(NSError *__nullable error, NSArray< NIMCacheQueryResult * > *__nullable results)
void(^ NIMFetchURLCompletion)(NSError *__nullable error, NSString *__nullable urlString)
Definition: NIMResourceManagerProtocol.h:72
void(^ NIMUploadCompleteBlock)(NSString *__nullable urlString, NSError *__nullable error)
Definition: NIMResourceManagerProtocol.h:40
void(^ NIMResourceDeleteHandler)(NSError *__nullable error, long long freeBytes)
Definition: NIMResourceManagerProtocol.h:31
Definition: NIMCacheQuery.h:38
Definition: NIMCacheQuery.h:18