48 lines
1.4 KiB
Objective-C
48 lines
1.4 KiB
Objective-C
//
|
|
// YMConstant.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/9/13.
|
|
//
|
|
///一些项目中所用到的key
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface YUMIConstant : NSObject
|
|
|
|
UIKIT_EXTERN NSString * const kRoomMiniNotificationKey;
|
|
UIKIT_EXTERN NSString * const kVisitorUnReadCountNotificationKey;
|
|
UIKIT_EXTERN NSString * const kHadShowNewUserGiftKey;
|
|
UIKIT_EXTERN NSString * const kRedPacketHistory;
|
|
UIKIT_EXTERN NSString * const kTuWenMessageHistory;///图文消息已读记录
|
|
UIKIT_EXTERN NSString * const kRoomQuickMessageCloseCount;
|
|
UIKIT_EXTERN NSString * const kLoginMethod;
|
|
UIKIT_EXTERN NSString * const kMessageFromPublicRoomWithAttachmentNotification;
|
|
UIKIT_EXTERN NSString * const kRoomGiftEffectUpdateNotificationKey;
|
|
typedef NS_ENUM(NSUInteger, Pi_KeyType) {
|
|
KeyType_PasswordEncode,///密码 des 加密的
|
|
KeyType_TRTC,///TRTC key
|
|
KeyType_NetEase,///云信的key
|
|
keyType_YiDunBussinessId,///易盾的id
|
|
keyType_YiDunPhotoBussinessId,///易盾图片的id
|
|
KeyType_FacePwdEncode, ///表情包解密key
|
|
KeyType_SudGameAppID,///小游戏APPID
|
|
KeyType_SudGameAppKey,///小游戏APPKey
|
|
///家族公会key
|
|
KeyType_GuildUidKey,
|
|
///系统通知
|
|
KeyType_SystemNotifiUidKey,
|
|
///小秘书
|
|
KeyType_SecretaryUidKey,
|
|
///参数加密
|
|
KeyType_Sign,
|
|
};
|
|
|
|
/// 获取当前项目中所用到的 type 所对应的 value 的值 type 类型
|
|
NSString * const KeyWithType(Pi_KeyType type);
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|