Files
yinmeng-ios/xplan-ios/Global/XPConstant.h

57 lines
1.7 KiB
C
Raw Normal View History

//
// XPConstant.h
// xplan-ios
//
// Created by 冯硕 on 2021/9/13.
//
///一些项目中所用到的key
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface XPConstant : NSObject
UIKIT_EXTERN NSString * const kWeChatNumber;
2021-12-07 11:08:43 +08:00
UIKIT_EXTERN NSString * const kTeenagerAlertDatekey;
UIKIT_EXTERN NSString * const kRoomMiniNotificationKey;
2022-01-26 15:51:19 +08:00
UIKIT_EXTERN NSString * const kVisitorUnReadCountNotificationKey;
2022-07-26 16:01:34 +08:00
UIKIT_EXTERN NSString * const kHadShowNewUserGiftKey;
UIKIT_EXTERN NSString * const kRedPacketHistory;
2022-11-24 18:24:48 +08:00
UIKIT_EXTERN NSString * const kTuWenMessageHistory;///图文消息已读记录
2022-09-27 15:07:31 +08:00
UIKIT_EXTERN NSString * const kTeenagerStatusChange;
2022-09-29 14:18:59 +08:00
UIKIT_EXTERN NSString * const kRoomQuickMessageCloseCount;
2021-09-13 18:56:16 +08:00
typedef NS_ENUM(NSUInteger, KeyType) {
2021-09-16 17:21:52 +08:00
KeyType_PasswordEncode,///密码 des 加密的
2021-12-06 17:31:52 +08:00
KeyType_NTESQuickLoginBusinessId,///网易易盾 快捷登录 id
2021-09-16 17:21:52 +08:00
KeyType_QQAppid,///qq appid
KeyType_QQSecret, ///QQ 的 secret
KeyType_WechatAppid,///微信的 appid
KeyType_WechatSecret,///微信的 secret
KeyType_Agora,///声网 key
2021-12-06 20:43:58 +08:00
KeyType_TRTC,///TRTC key
2021-10-21 12:01:21 +08:00
KeyType_NetEase,///云信的key
KeyType_APNSCer,///推送证书的名字
2021-12-06 17:31:52 +08:00
keyType_YiDunBussinessId,///易盾的id
keyType_UMengAppKey,///友盟统计的key
keyType_UMengAppChannel,///友盟统计的渠道
2021-12-29 19:14:10 +08:00
KeyType_FacePwdEncode, ///表情包解密key
2022-02-14 19:29:29 +08:00
KeyType_SudGameAppID,///小游戏APPID
KeyType_SudGameAppKey,///小游戏APPKey
///家族公会key
KeyType_GuildUidKey,
///系统通知
KeyType_SystemNotifiUidKey,
///小秘书
KeyType_SecretaryUidKey,
2022-11-01 17:10:13 +08:00
///bugly的key
KeyTyoe_BuglyKey,
};
2021-09-16 17:21:52 +08:00
/// 获取当前项目中所用到的 type 所对应的 value 的值 type 类型
NSString * const KeyWithType(KeyType type);
@end
NS_ASSUME_NONNULL_END