@rongcloud/engine 5.9.2 → 5.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +138 -17
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -617,10 +617,6 @@ interface ILogData {
|
|
|
617
617
|
* 日志标签,如 `L-INIT-O`
|
|
618
618
|
*/
|
|
619
619
|
tag: string;
|
|
620
|
-
/**
|
|
621
|
-
* logger 实例 Id,用于确定日志由谁埋点,如 `RCEngien` 为 engine 包埋点日志
|
|
622
|
-
*/
|
|
623
|
-
loggerId: string;
|
|
624
620
|
/**
|
|
625
621
|
* 日志生成时间
|
|
626
622
|
*/
|
|
@@ -645,6 +641,10 @@ interface ILogData {
|
|
|
645
641
|
* 事务跟踪 ID
|
|
646
642
|
*/
|
|
647
643
|
traceId?: string;
|
|
644
|
+
/**
|
|
645
|
+
* logger 实例 Id,用于确定日志由谁埋点,如 `RCEngien` 为 engine 包埋点日志
|
|
646
|
+
*/
|
|
647
|
+
loggerId?: string;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
/**
|
|
@@ -829,6 +829,11 @@ declare enum ErrorCode {
|
|
|
829
829
|
* 已被对方加入黑名单,消息发送失败
|
|
830
830
|
*/
|
|
831
831
|
REJECTED_BY_BLACKLIST = 405,
|
|
832
|
+
/**
|
|
833
|
+
* 在单聊中已被禁言
|
|
834
|
+
* @since 5.9.4
|
|
835
|
+
*/
|
|
836
|
+
FORBIDDEN_IN_PRIVATE = 20106,
|
|
832
837
|
/**
|
|
833
838
|
* 系统会话不支持发送该消息
|
|
834
839
|
* @since 5.8.2
|
|
@@ -2327,7 +2332,8 @@ declare enum LogTagId {
|
|
|
2327
2332
|
L_CLOUD_SET_CACHE_O = "L-cloud_set_cache-O",
|
|
2328
2333
|
L_CLOUD_GET_CACHE_O = "L-cloud_get_cache-O",
|
|
2329
2334
|
L_CLOUD_MSG_NTF_O = "L-cloud_msg_ntf-O",
|
|
2330
|
-
L_CLOUD_SET_AREA_CODE_O = "L-cloud_set_area_code-O"
|
|
2335
|
+
L_CLOUD_SET_AREA_CODE_O = "L-cloud_set_area_code-O",
|
|
2336
|
+
L_CLOUD_SET_MRTR_O = "L-cloud_set_mrtr-O"
|
|
2331
2337
|
}
|
|
2332
2338
|
|
|
2333
2339
|
/** 统计数据标签 */
|
|
@@ -2341,7 +2347,10 @@ declare enum StatisticsTag {
|
|
|
2341
2347
|
IM_NETWORK_CHANGE = "IM-stats_network_change-S",
|
|
2342
2348
|
/** 云控配置埋点 */
|
|
2343
2349
|
L_CLOUD_INFO_FETCH_T = "L-cloud_info_fetch-T",
|
|
2344
|
-
L_CLOUD_INFO_FETCH_R = "L-cloud_info_fetch-R"
|
|
2350
|
+
L_CLOUD_INFO_FETCH_R = "L-cloud_info_fetch-R",
|
|
2351
|
+
/** 消息延时率埋点 */
|
|
2352
|
+
IM_MSG_SEND = "IM-msg_send-S",
|
|
2353
|
+
IM_MSG_RECEIVE = "IM-msg_receive-S"
|
|
2345
2354
|
}
|
|
2346
2355
|
|
|
2347
2356
|
/**
|
|
@@ -2658,6 +2667,7 @@ interface IAndroidPushConfig {
|
|
|
2658
2667
|
* 国内版仅 MIUI12 以上版本支持,以下版本均不支持;国际版支持。
|
|
2659
2668
|
* 图片要求:大小 120 * 120px,格式为 png 或者 jpg 格式。
|
|
2660
2669
|
* @since 5.7.3 版本开始支持
|
|
2670
|
+
* @deprecated 由于小米官方已停止支持该能力,该字段已失效
|
|
2661
2671
|
*/
|
|
2662
2672
|
miLargeIconUrl?: string;
|
|
2663
2673
|
/**
|
|
@@ -2760,6 +2770,24 @@ interface IPushConfig {
|
|
|
2760
2770
|
templateId?: string;
|
|
2761
2771
|
}
|
|
2762
2772
|
|
|
2773
|
+
/**
|
|
2774
|
+
* 已读回执响应信息
|
|
2775
|
+
* @category Interface
|
|
2776
|
+
*/
|
|
2777
|
+
interface IReadReceiptResponseInfo {
|
|
2778
|
+
/**
|
|
2779
|
+
* 是否已发送已读回执
|
|
2780
|
+
*/
|
|
2781
|
+
isReceiptRequestMessage?: boolean;
|
|
2782
|
+
/**
|
|
2783
|
+
* 是否已发送响应, 仅 Electron 平台有效
|
|
2784
|
+
*/
|
|
2785
|
+
hasRespond?: boolean;
|
|
2786
|
+
/**
|
|
2787
|
+
* 已发送响应的 userIds
|
|
2788
|
+
*/
|
|
2789
|
+
readerList?: string[];
|
|
2790
|
+
}
|
|
2763
2791
|
/**
|
|
2764
2792
|
* 已读回执数据结构
|
|
2765
2793
|
* @category Interface
|
|
@@ -2877,6 +2905,29 @@ interface ISyncReadStatusData extends IConversationOption {
|
|
|
2877
2905
|
*/
|
|
2878
2906
|
timestamp: number;
|
|
2879
2907
|
}
|
|
2908
|
+
/**
|
|
2909
|
+
* 消息的接收状态详情
|
|
2910
|
+
* 该字段只适用 Electron 平台,只有 isRetrieved 只对 web 平台有效
|
|
2911
|
+
* @since 5.9.3
|
|
2912
|
+
*/
|
|
2913
|
+
interface IReceivedStatusInfo {
|
|
2914
|
+
/**
|
|
2915
|
+
* 是否已读取的状态
|
|
2916
|
+
*/
|
|
2917
|
+
isRead?: boolean;
|
|
2918
|
+
/**
|
|
2919
|
+
* 是否已被收听的状态
|
|
2920
|
+
*/
|
|
2921
|
+
isListened?: boolean;
|
|
2922
|
+
/**
|
|
2923
|
+
* 文件是否已经下载的状态
|
|
2924
|
+
*/
|
|
2925
|
+
isDownload?: boolean;
|
|
2926
|
+
/**
|
|
2927
|
+
* 是否已被收取过的状态
|
|
2928
|
+
*/
|
|
2929
|
+
isRetrieved?: boolean;
|
|
2930
|
+
}
|
|
2880
2931
|
/**
|
|
2881
2932
|
* 从服务端接收到的消息数据
|
|
2882
2933
|
* @category Interface
|
|
@@ -2924,7 +2975,7 @@ interface IReceivedMessage {
|
|
|
2924
2975
|
*/
|
|
2925
2976
|
messageDirection: MessageDirection;
|
|
2926
2977
|
/**
|
|
2927
|
-
*
|
|
2978
|
+
* 是否为离线消息, 在超级群中不适用
|
|
2928
2979
|
*/
|
|
2929
2980
|
isOffLineMessage: boolean;
|
|
2930
2981
|
/**
|
|
@@ -2971,8 +3022,15 @@ interface IReceivedMessage {
|
|
|
2971
3022
|
} | null;
|
|
2972
3023
|
/**
|
|
2973
3024
|
* 消息接收状态
|
|
3025
|
+
* 只能表示单一状态,推荐使用 receivedStatusInfo 来判断接收消息状态
|
|
3026
|
+
* @deprecated
|
|
2974
3027
|
*/
|
|
2975
3028
|
receivedStatus: number;
|
|
3029
|
+
/**
|
|
3030
|
+
* 消息接收状态详情
|
|
3031
|
+
* 推荐使用, receivedStatusInfo 值更详细,能同时表示多个接收状态
|
|
3032
|
+
*/
|
|
3033
|
+
receivedStatusInfo: IReceivedStatusInfo;
|
|
2976
3034
|
/**
|
|
2977
3035
|
* 消息本地 ID, web 端由 lib 内生成, PC 端由协议栈数据库生成自增ID
|
|
2978
3036
|
*/
|
|
@@ -2982,9 +3040,10 @@ interface IReceivedMessage {
|
|
|
2982
3040
|
*/
|
|
2983
3041
|
sentStatus?: SentStatus;
|
|
2984
3042
|
/**
|
|
2985
|
-
*
|
|
3043
|
+
* 群已读回执信息(导航配置 grpRRVer = 0 时为 IReadReceiptResponseInfo,
|
|
3044
|
+
* grpRRVer >= 1时为 IReadReceiptInfo)
|
|
2986
3045
|
*/
|
|
2987
|
-
readReceiptInfo?: IReadReceiptInfo;
|
|
3046
|
+
readReceiptInfo?: IReadReceiptInfo | IReadReceiptResponseInfo;
|
|
2988
3047
|
/**
|
|
2989
3048
|
* 推送扩展
|
|
2990
3049
|
*/
|
|
@@ -3238,6 +3297,7 @@ interface IInsertMsgOptions {
|
|
|
3238
3297
|
content: any;
|
|
3239
3298
|
messageDirection: number;
|
|
3240
3299
|
readStatus?: number;
|
|
3300
|
+
receivedStatusInfo?: IReceivedStatusInfo;
|
|
3241
3301
|
sentStatus?: number;
|
|
3242
3302
|
sentTime?: number;
|
|
3243
3303
|
searchContent?: string;
|
|
@@ -3265,6 +3325,7 @@ interface IInsertMessage {
|
|
|
3265
3325
|
[key: string]: any;
|
|
3266
3326
|
} | null;
|
|
3267
3327
|
receivedStatus?: number;
|
|
3328
|
+
receivedStatusInfo?: IReceivedStatusInfo;
|
|
3268
3329
|
/**
|
|
3269
3330
|
* 插入消息是否计入未读数: true 计数 false 不计数, 默认不计数
|
|
3270
3331
|
*/
|
|
@@ -3635,6 +3696,7 @@ interface ISetConversationStatusOptions {
|
|
|
3635
3696
|
notificationStatus?: number;
|
|
3636
3697
|
notificationLevel?: number;
|
|
3637
3698
|
channelId?: string;
|
|
3699
|
+
isUpdateTime?: boolean;
|
|
3638
3700
|
}
|
|
3639
3701
|
interface IUpdatedConversation {
|
|
3640
3702
|
updatedItems: {
|
|
@@ -4121,7 +4183,7 @@ interface IRuntime {
|
|
|
4121
4183
|
* 拓展方法定义,便于 electron-solution 实现时保持接口类型推导可用
|
|
4122
4184
|
*/
|
|
4123
4185
|
interface IExtraMethod {
|
|
4124
|
-
getConversationsByPage(conversationTypes: ConversationType[], sentTime: number, count: number, channelId?: string): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
4186
|
+
getConversationsByPage(conversationTypes: ConversationType[], sentTime: number, count: number, channelId?: string, topPriority?: boolean): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
4125
4187
|
getHistoryMessagesByObjectNames(conversationType: ConversationType, targetId: string, sentTime: number, count: number, objectNames: string[], desc: 0 | 1, tag: string): Promise<IAsyncRes<{
|
|
4126
4188
|
list: IReceivedMessage[];
|
|
4127
4189
|
hasMore: boolean;
|
|
@@ -4635,6 +4697,10 @@ declare abstract class BasicStatisticReporter {
|
|
|
4635
4697
|
* 实时日志仅获取当前时间 - 10s 以前的日志上报,避免多页面并行写库造成数据遗漏
|
|
4636
4698
|
*/
|
|
4637
4699
|
checkStart(navi: INaviInfo): Promise<void>;
|
|
4700
|
+
/**
|
|
4701
|
+
* 降低圈复杂度 - 将获实时日志上传逻辑抽离
|
|
4702
|
+
*/
|
|
4703
|
+
private _sendLogs2Realtime;
|
|
4638
4704
|
/**
|
|
4639
4705
|
* 实时日志上报
|
|
4640
4706
|
* @override IndexDBReporter 重载此方法,增加同设备多页面多端时进程竞争检测
|
|
@@ -5351,7 +5417,7 @@ interface IEngine {
|
|
|
5351
5417
|
/**
|
|
5352
5418
|
* 分页获取会话列表,仅 electron中使用
|
|
5353
5419
|
*/
|
|
5354
|
-
getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string): IPromiseResult<IReceivedConversation[]>;
|
|
5420
|
+
getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string, topPriority: boolean): IPromiseResult<IReceivedConversation[]>;
|
|
5355
5421
|
/**
|
|
5356
5422
|
* 获取指定会话
|
|
5357
5423
|
*/
|
|
@@ -6237,6 +6303,10 @@ declare abstract class BasicReporter {
|
|
|
6237
6303
|
* 实时日志仅获取当前时间 - 10s 以前的日志上报,避免多页面并行写库造成数据遗漏
|
|
6238
6304
|
*/
|
|
6239
6305
|
checkStart(navi: INaviInfo): Promise<void>;
|
|
6306
|
+
/**
|
|
6307
|
+
* 降低圈复杂度 - 将获实时日志上传逻辑抽离
|
|
6308
|
+
*/
|
|
6309
|
+
private _sendLogs2Realtime;
|
|
6240
6310
|
/**
|
|
6241
6311
|
* 实时日志上报
|
|
6242
6312
|
* @override IndexDBReporter 重载此方法,增加同设备多页面多端时进程竞争检测
|
|
@@ -6479,7 +6549,7 @@ interface IWatcher {
|
|
|
6479
6549
|
* 群聊消息送达状态通知
|
|
6480
6550
|
*/
|
|
6481
6551
|
groupMessageDeliveredStatus?: IGroupMessageDeliveredStatusListener;
|
|
6482
|
-
readReceiptReceived?: (conversation: IConversationOption,
|
|
6552
|
+
readReceiptReceived?: (conversation: IConversationOption, message: string, sentTime: number, senderUserId: string) => void;
|
|
6483
6553
|
messageReceiptRequest?: (conversation: IConversationOption, messageUId: string, senderUserId: string) => void;
|
|
6484
6554
|
messageReceiptResponse?: (conversation: IConversationOption, receivedUserId: string, messageUIdList: string[]) => void;
|
|
6485
6555
|
/**
|
|
@@ -6874,6 +6944,11 @@ declare class APIContext {
|
|
|
6874
6944
|
*/
|
|
6875
6945
|
registerRTCSignalingListener(listener?: (buffer: Uint8Array) => void): void;
|
|
6876
6946
|
checkSearchPropsMsg(messageType: string, msgContent: any): IAsyncRes;
|
|
6947
|
+
/**
|
|
6948
|
+
* 降低圈复杂度 - 将扩展验证的结果抽离
|
|
6949
|
+
* @param expansion
|
|
6950
|
+
*/
|
|
6951
|
+
private _handleExpansioResult;
|
|
6877
6952
|
/**
|
|
6878
6953
|
* 发送消息
|
|
6879
6954
|
* @param conversationType
|
|
@@ -6957,7 +7032,7 @@ declare class APIContext {
|
|
|
6957
7032
|
/**
|
|
6958
7033
|
* 分页获取会话列表,仅 electron中使用
|
|
6959
7034
|
*/
|
|
6960
|
-
getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
7035
|
+
getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string, topPriority: boolean): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
6961
7036
|
/**
|
|
6962
7037
|
* 获取单一会话数据
|
|
6963
7038
|
* @param conversationType
|
|
@@ -7026,7 +7101,7 @@ declare class APIContext {
|
|
|
7026
7101
|
*/
|
|
7027
7102
|
setConversationNotificationLevel(conversationType: ConversationType, targetId: string, notificationLevel?: NotificationLevel, channelId?: string): Promise<ErrorCode>;
|
|
7028
7103
|
batchSetConversationNotificationLevel(conversations: IConversationOption[], notificationLevel: NotificationLevel): Promise<ErrorCode>;
|
|
7029
|
-
setConversationStatus(conversationType: ConversationType, targetId: string, isTop?: boolean, notificationStatus?: 1 | 2, channelId?: string): Promise<ErrorCode>;
|
|
7104
|
+
setConversationStatus(conversationType: ConversationType, targetId: string, isTop?: boolean, notificationStatus?: 1 | 2, channelId?: string, isUpdateTime?: boolean): Promise<ErrorCode>;
|
|
7030
7105
|
batchSetConversationToTop(conversations: IConversationOption[], isTop: boolean, isCreateConversation?: boolean): Promise<ErrorCode>;
|
|
7031
7106
|
saveConversationMessageDraft(conversationType: ConversationType, targetId: string, draft: string, channelId?: string): Promise<ErrorCode>;
|
|
7032
7107
|
getConversationMessageDraft(conversationType: ConversationType, targetId: string, channelId?: string): Promise<IAsyncRes<string>>;
|
|
@@ -7147,7 +7222,7 @@ declare class APIContext {
|
|
|
7147
7222
|
* 方法已废弃,推荐使用 `getChatroomHistoryMessages` 替代
|
|
7148
7223
|
* @deprecated
|
|
7149
7224
|
*/
|
|
7150
|
-
getChatRoomHistoryMessages: (roomId: string, count?: number, order?: 0 | 1, timestamp?: number) => Promise<IAsyncRes<{
|
|
7225
|
+
getChatRoomHistoryMessages: (roomId: string, count?: number | undefined, order?: 0 | 1 | undefined, timestamp?: number | undefined) => Promise<IAsyncRes<{
|
|
7151
7226
|
list: IReceivedMessage[];
|
|
7152
7227
|
hasMore: boolean;
|
|
7153
7228
|
}>>;
|
|
@@ -8052,7 +8127,7 @@ declare abstract class AEngine {
|
|
|
8052
8127
|
/**
|
|
8053
8128
|
* 分页获取会话列表,仅 electron中使用
|
|
8054
8129
|
*/
|
|
8055
|
-
abstract getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string): IPromiseResult<IReceivedConversation[]>;
|
|
8130
|
+
abstract getConversationsByPage(conversationTypes: ConversationType[], startTime: number, count: number, channelId: string, topPriority: boolean): IPromiseResult<IReceivedConversation[]>;
|
|
8056
8131
|
/**
|
|
8057
8132
|
* 获取指定会话
|
|
8058
8133
|
*/
|
|
@@ -9077,6 +9152,11 @@ declare const getbundleId: () => string;
|
|
|
9077
9152
|
*/
|
|
9078
9153
|
declare const decryptCBC: (data: string, key: string, iv: string) => Promise<string>;
|
|
9079
9154
|
declare function fixUrlProtocol(url: string, protocol?: EConnectProtocol): string;
|
|
9155
|
+
/**
|
|
9156
|
+
* 根据消息id计算出哈希值,用作与云控返回的采样率做模运算(取余运算)
|
|
9157
|
+
* @param messageUId
|
|
9158
|
+
*/
|
|
9159
|
+
declare function getMessageUIdHash(messageUId: string): number;
|
|
9080
9160
|
|
|
9081
9161
|
declare function httpRequest(options: IRequest): SuspendablePromise<IResponse>;
|
|
9082
9162
|
|
|
@@ -9113,6 +9193,16 @@ declare const getBrowser: (runtime: IRuntime) => {
|
|
|
9113
9193
|
version: any;
|
|
9114
9194
|
};
|
|
9115
9195
|
declare const clone: (target: any) => any;
|
|
9196
|
+
/**
|
|
9197
|
+
* 将接收状态枚举值转换为接收转态详情
|
|
9198
|
+
* @param status 状态枚举值
|
|
9199
|
+
*/
|
|
9200
|
+
declare const transformReceivedStatusInfo: (status: ReceivedStatus) => IReceivedStatusInfo;
|
|
9201
|
+
/**
|
|
9202
|
+
* 将接收状态详情转换为接收转态枚举值
|
|
9203
|
+
* @param status 状态枚举值
|
|
9204
|
+
*/
|
|
9205
|
+
declare const transformReceivedStatusFlag: (receivedStatusInfo: IReceivedStatusInfo) => number;
|
|
9116
9206
|
|
|
9117
9207
|
/**
|
|
9118
9208
|
* Navi 缓存数据有效时长,单位毫秒
|
|
@@ -9199,6 +9289,10 @@ declare const MAX_UPLOAD_FILE_SIZE: number;
|
|
|
9199
9289
|
declare const UPLOAD_FILE_CHUNK_SIZE: number;
|
|
9200
9290
|
declare const STATIC_CONFIG_CACHE_TIME: number;
|
|
9201
9291
|
declare const RC_DEFAULT_USER = "rongcloudsystem";
|
|
9292
|
+
/**
|
|
9293
|
+
* 已读回执缓存时间
|
|
9294
|
+
*/
|
|
9295
|
+
declare const READ_RECEIPT_CATCH_TIME: number;
|
|
9202
9296
|
/**
|
|
9203
9297
|
* localStorage 中的 key 值
|
|
9204
9298
|
*/
|
|
@@ -9261,6 +9355,10 @@ declare const LOCAL_STORAGE_KEYS: {
|
|
|
9261
9355
|
* 云控配置存储
|
|
9262
9356
|
*/
|
|
9263
9357
|
CLOUD_CONTROL_KEY: (appKey: string) => string;
|
|
9358
|
+
/**
|
|
9359
|
+
* 已读回执存储
|
|
9360
|
+
*/
|
|
9361
|
+
READ_RECEIPT_KEY: (appkey: string, curUserId: string) => string;
|
|
9264
9362
|
};
|
|
9265
9363
|
|
|
9266
9364
|
interface ICloudConfig {
|
|
@@ -9324,6 +9422,13 @@ interface IUploadTask {
|
|
|
9324
9422
|
*/
|
|
9325
9423
|
userId?: string;
|
|
9326
9424
|
}
|
|
9425
|
+
interface IMRTRConfig {
|
|
9426
|
+
chatroom: number;
|
|
9427
|
+
group: number;
|
|
9428
|
+
private: number;
|
|
9429
|
+
ultraGroup: number;
|
|
9430
|
+
temporary: boolean;
|
|
9431
|
+
}
|
|
9327
9432
|
interface ICloudController {
|
|
9328
9433
|
/**
|
|
9329
9434
|
* 云控配置
|
|
@@ -9341,6 +9446,12 @@ interface ICloudController {
|
|
|
9341
9446
|
* 最后一次请求时间
|
|
9342
9447
|
*/
|
|
9343
9448
|
lastRequestTime: number;
|
|
9449
|
+
/**
|
|
9450
|
+
* 消息采样率,用于采样率规则,后面的数值代表计算采样率的分母
|
|
9451
|
+
* 1 代表 100% 0.1 代表 10% 0.001 代表 1%
|
|
9452
|
+
* 0 代表不抽样
|
|
9453
|
+
*/
|
|
9454
|
+
mrtr: IMRTRConfig;
|
|
9344
9455
|
/**
|
|
9345
9456
|
* 区域码
|
|
9346
9457
|
*/
|
|
@@ -9406,6 +9517,16 @@ declare abstract class BaseCloudController {
|
|
|
9406
9517
|
private logCmdMsgTasks;
|
|
9407
9518
|
protected dataHandle(data: ICloudController): void;
|
|
9408
9519
|
request(uri: string, invoker: InvokerType, token?: string): Promise<number>;
|
|
9520
|
+
/**
|
|
9521
|
+
* 设置消息采样率
|
|
9522
|
+
* @param data IMRTRConfig
|
|
9523
|
+
*/
|
|
9524
|
+
protected abstract setMRTRConfig(data: IMRTRConfig): void;
|
|
9525
|
+
/**
|
|
9526
|
+
* 将服务端返回数据进行转换
|
|
9527
|
+
* @param data
|
|
9528
|
+
*/
|
|
9529
|
+
private _handleMrtrData;
|
|
9409
9530
|
}
|
|
9410
9531
|
|
|
9411
9532
|
/**
|
|
@@ -9420,4 +9541,4 @@ declare type AbsCodec<T> = Codec<T>;
|
|
|
9420
9541
|
*/
|
|
9421
9542
|
declare const version: string;
|
|
9422
9543
|
|
|
9423
|
-
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BaseCloudController, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupReadReceiptData, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUploadTask, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PluginContext, ProtocalType, PushImportanceHonor, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, getBrowser, getClientMessageId, getDeviceId, getMimeKey, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isStartCloudController, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, unInitStatisticDB, urlCenter, usingCppEngine, validate, version };
|
|
9544
|
+
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BaseCloudController, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupReadReceiptData, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IMRTRConfig, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUploadTask, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PluginContext, ProtocalType, PushImportanceHonor, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, READ_RECEIPT_CATCH_TIME, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, getBrowser, getClientMessageId, getDeviceId, getMessageUIdHash, getMimeKey, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isStartCloudController, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, transformReceivedStatusFlag, transformReceivedStatusInfo, unInitStatisticDB, urlCenter, usingCppEngine, validate, version };
|