27 lines
590 B
Objective-C
27 lines
590 B
Objective-C
|
|
// Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
|
// Use of this source code is governed by a MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface NIMKitFileLocationHelper : NSObject
|
|
|
|
+ (void)setStaticAppkey:(NSString *)appkey;
|
|
|
|
+ (void)setStaticUserId:(NSString *)userid;
|
|
|
|
+ (NSString *)getAppDocumentPath;
|
|
|
|
+ (NSString *)getAppTempPath;
|
|
|
|
+ (NSString *)userDirectory;
|
|
|
|
+ (NSString *)genFilenameWithExt:(NSString *)ext;
|
|
|
|
+ (NSString *)filepathForVideo:(NSString *)filename;
|
|
|
|
+ (NSString *)filepathForImage:(NSString *)filename;
|
|
|
|
@end
|