mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-23 01:49:03 +08:00
80 lines
2.2 KiB
C
80 lines
2.2 KiB
C
//
|
|
// TUIChatDefine.h
|
|
// Pods
|
|
//
|
|
// Created by xiangzhang on 2022/10/14.
|
|
//
|
|
|
|
#ifndef TUIChatDefine_h
|
|
#define TUIChatDefine_h
|
|
|
|
static NSString * const kMemberCellReuseId = @"kMemberCellReuseId";
|
|
|
|
typedef void(^TUIImageMessageDownloadCallback)(void);
|
|
|
|
typedef void(^TUIVideoMessageDownloadCallback)(void);
|
|
|
|
typedef void(^TUIReplyAsyncLoadFinish)(void);
|
|
|
|
typedef void(^TUIInputPreviewBarCallback)(void);
|
|
|
|
typedef void(^TUIReplyQuoteAsyncLoadFinish)(void);
|
|
|
|
typedef void(^TUIChatSelectAllContentCallback)(BOOL);
|
|
|
|
typedef void(^TUIReferenceSelectAllContentCallback)(BOOL);
|
|
|
|
typedef void(^TUIReplySelectAllContentCallback)(BOOL);
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, TUIMultiResultOption) {
|
|
/**
|
|
* 获取所有选中的结果
|
|
* Get all selected results
|
|
*/
|
|
TUIMultiResultOptionAll = 0,
|
|
/**
|
|
* 过滤掉不支持转发的数据
|
|
* Filter out data that does not support forwarding
|
|
*/
|
|
TUIMultiResultOptionFiterUnsupportRelay = 1 << 0,
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger, TUIMessageReadViewTag) {
|
|
TUIMessageReadViewTagUnknown = 0, // unknown
|
|
TUIMessageReadViewTagRead, // read group members
|
|
TUIMessageReadViewTagUnread, // unread group members
|
|
TUIMessageReadViewTagReadDisable, // disable read group members
|
|
TUIMessageReadViewTagC2C, // c2c member
|
|
};
|
|
|
|
typedef NS_ENUM(NSUInteger, InputStatus) {
|
|
Input_Status_Input,
|
|
Input_Status_Input_Face,
|
|
Input_Status_Input_More,
|
|
Input_Status_Input_Keyboard,
|
|
Input_Status_Input_Talk,
|
|
Input_Status_Input_Camera,
|
|
};
|
|
|
|
typedef NS_ENUM(NSUInteger, RecordStatus) {
|
|
Record_Status_TooShort,
|
|
Record_Status_TooLong,
|
|
Record_Status_Recording,
|
|
Record_Status_Cancel,
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger,TUIChatSmallTongueType) {
|
|
TUIChatSmallTongueType_None,
|
|
TUIChatSmallTongueType_ScrollToBoom,
|
|
TUIChatSmallTongueType_ReceiveNewMsg,
|
|
TUIChatSmallTongueType_SomeoneAtMe,
|
|
};
|
|
|
|
#define TUITencentCloudHomePageCN @"https://cloud.tencent.com/document/product/269/68228"
|
|
#define TUITencentCloudHomePageEN @"https://www.tencentcloud.com/document/product/1047/45913"
|
|
|
|
#define TUIChatSendMessageNotification @"TUIChatSendMessageNotification"
|
|
|
|
#endif /* TUIChatDefine_h */
|