//
//  UDManager.h
//  AIIM
//
//  Created by gan on 2025/3/28.
//

#ifndef UDManager_h
#define UDManager_h


#endif /* UDManager_h */


//UDManager NSUserDefaults key string
static NSString * _Nonnull gkeytoken = @"dkusertoken";
static NSString * _Nonnull dkuserloginId = @"dkuserloginId";//用户登录账号
static NSString * _Nonnull dkuserId = @"dkuserId";//用户ID 对应chatid
static NSString * _Nonnull dkuserinfo = @"dkuserinfo";
static NSString * _Nonnull dkpushtoken = @"dkpushtoken";
static NSString * _Nonnull dkvoiptoken = @"dkvoiptoken";
static NSString * _Nonnull dkagreed = @"dkagreed";


//NSNotificationCenter key string
static NSString * _Nonnull nkonLoginSucc = @"nkonLoginSucc";
static NSString * _Nonnull nkonLogoutSucc = @"nkonLogoutSucc";
static NSString * _Nonnull nkonNewMessageNote = @"nkonNewMessageNote";
static NSString * _Nonnull nkonAddFriendNote = @"nkonAddFriendNote";
static NSString * _Nonnull nkonEXGroupdNote = @"nkonEXGroupdNote";

//oss
static NSString * _Nonnull nkOSSinfo = @"nkOSSinfo";



@interface UDManager : NSObject
+ (UDManager *_Nonnull)shareInstance;

-(void)setSDManager:(NSString *_Nonnull)obj key:(NSString *_Nonnull)key;
-(NSString *_Nonnull)getSDManager:(NSString *_Nonnull)key;

-(void)setDDManager:(NSDictionary *_Nonnull)obj key:(NSString *_Nonnull)key;
-(NSDictionary *_Nonnull)getDDManager:(NSString *_Nonnull)key;

-(void)removeUDManager:(NSString *_Nonnull)key;

@end
