@rongcloud/engine 5.7.2 → 5.7.3
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 +92 -134
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1530,7 +1530,8 @@ declare enum UltraMsgChangeType {
|
|
|
1530
1530
|
MSG_EXPANSION = 1,
|
|
1531
1531
|
MSG_MODIFY = 2,
|
|
1532
1532
|
MSG_RECALL = 3,
|
|
1533
|
-
CHANNEL_CHANGE = 4
|
|
1533
|
+
CHANNEL_CHANGE = 4,
|
|
1534
|
+
USER_GROUP_CHANGE = 5
|
|
1534
1535
|
}
|
|
1535
1536
|
/** PB 结构 MsgChange 属性 subChangeType 对应枚举值 */
|
|
1536
1537
|
declare enum UltraMsgSubChangeType {
|
|
@@ -1541,6 +1542,13 @@ declare enum UltraMsgSubChangeType {
|
|
|
1541
1542
|
CHANNEL_USER_KICKED = 5,
|
|
1542
1543
|
PUBLIC_TO_PRIVATE_USER_NOT_IN = 6
|
|
1543
1544
|
}
|
|
1545
|
+
declare enum UserGroupChangeType {
|
|
1546
|
+
REMOVE_USER_GROUP = 1,
|
|
1547
|
+
JOIN_USER_GROUP = 2,
|
|
1548
|
+
EXIT_USER_GROUP = 3,
|
|
1549
|
+
CHANNEL_BIND_USER_GROUP = 4,
|
|
1550
|
+
CHANNEL_UNBIND_USER_GROUP = 5
|
|
1551
|
+
}
|
|
1544
1552
|
|
|
1545
1553
|
/**
|
|
1546
1554
|
* 音视频模式
|
|
@@ -1686,10 +1694,33 @@ interface IAndroidPushConfig {
|
|
|
1686
1694
|
* 小米的 channelId
|
|
1687
1695
|
*/
|
|
1688
1696
|
channelIdMi?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* 小米 Large icon 链接
|
|
1699
|
+
* Large icon 可以出现在大图版和多字版消息中,显示在右边。
|
|
1700
|
+
* 国内版仅 MIUI12 以上版本支持,以下版本均不支持;国际版支持。
|
|
1701
|
+
* 图片要求:大小 120 * 120px,格式为 png 或者 jpg 格式。
|
|
1702
|
+
*/
|
|
1703
|
+
miLargeIconUrl?: string;
|
|
1689
1704
|
/**
|
|
1690
1705
|
* 华为的 channelId
|
|
1691
1706
|
*/
|
|
1692
1707
|
channelIdHW?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* 华为推送消息分类
|
|
1710
|
+
* 更多信息请参考华为消息分类标准文档: https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/message-classification-0000001149358835
|
|
1711
|
+
* 5.7.3 版本开始支持
|
|
1712
|
+
*/
|
|
1713
|
+
categoryHW?: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* 华为推送消息级别
|
|
1716
|
+
* LOW: 表示消息为资讯营销
|
|
1717
|
+
* NORMAL: 消息为服务与通讯
|
|
1718
|
+
*/
|
|
1719
|
+
importanceHW?: 'NORMAL' | 'LOW';
|
|
1720
|
+
/**
|
|
1721
|
+
* 华为通知类型的推送所使用的通知图片 url
|
|
1722
|
+
*/
|
|
1723
|
+
imageUrlHW?: string;
|
|
1693
1724
|
/**
|
|
1694
1725
|
* OPPO 的 channelId
|
|
1695
1726
|
*/
|
|
@@ -4420,9 +4451,6 @@ interface IEndRoomPKOptions {
|
|
|
4420
4451
|
keys: string[];
|
|
4421
4452
|
}
|
|
4422
4453
|
|
|
4423
|
-
/**
|
|
4424
|
-
* 消息送达相关接口
|
|
4425
|
-
*/
|
|
4426
4454
|
/**
|
|
4427
4455
|
* 送达的用户信息
|
|
4428
4456
|
* @hidden
|
|
@@ -4466,6 +4494,29 @@ interface IGroupMessageDeliverStatus {
|
|
|
4466
4494
|
list: IGroupMessageDeliveredStatusInfo[];
|
|
4467
4495
|
}
|
|
4468
4496
|
|
|
4497
|
+
/**
|
|
4498
|
+
* 用户组变更数据
|
|
4499
|
+
*/
|
|
4500
|
+
interface IUserGroupChangeData {
|
|
4501
|
+
conversation: IConversationIdentifier;
|
|
4502
|
+
userGroupIds: string[];
|
|
4503
|
+
}
|
|
4504
|
+
/**
|
|
4505
|
+
* 频道和用户组关系变更数据
|
|
4506
|
+
*/
|
|
4507
|
+
interface IChannelAndUserGroupChangeData {
|
|
4508
|
+
conversation: IConversationOption;
|
|
4509
|
+
channelType: UltraGroupChannelType;
|
|
4510
|
+
userGroupIds: string[];
|
|
4511
|
+
}
|
|
4512
|
+
interface IUserGroupStatusInfo {
|
|
4513
|
+
userGroupDisband?: IUserGroupChangeData[];
|
|
4514
|
+
userAdded?: IUserGroupChangeData[];
|
|
4515
|
+
userRemoved?: IUserGroupChangeData[];
|
|
4516
|
+
userGroupBindChannel?: IChannelAndUserGroupChangeData[];
|
|
4517
|
+
userGroupUnBindChannel?: IChannelAndUserGroupChangeData[];
|
|
4518
|
+
}
|
|
4519
|
+
|
|
4469
4520
|
/**
|
|
4470
4521
|
* 定义已废弃,请使用 `IRemoveChatroomEntries` 替换
|
|
4471
4522
|
* @deprecated
|
|
@@ -4621,6 +4672,14 @@ declare const deInitLogDB: () => Promise<void>;
|
|
|
4621
4672
|
*/
|
|
4622
4673
|
declare const transcsv: (log: ILogData) => string;
|
|
4623
4674
|
|
|
4675
|
+
/**
|
|
4676
|
+
* 会话标识
|
|
4677
|
+
* @category Interface
|
|
4678
|
+
*/
|
|
4679
|
+
interface IConversationIdentifier {
|
|
4680
|
+
conversationType: ConversationType;
|
|
4681
|
+
targetId: string;
|
|
4682
|
+
}
|
|
4624
4683
|
/**
|
|
4625
4684
|
* 会话属性
|
|
4626
4685
|
* @category Interface
|
|
@@ -4745,11 +4804,6 @@ interface IWatcher {
|
|
|
4745
4804
|
conversationState?: IConversationStateListener;
|
|
4746
4805
|
chatroomState?: IChatroomListener;
|
|
4747
4806
|
expansion?: IExpansionListener;
|
|
4748
|
-
/**
|
|
4749
|
-
* 为兼容老版本 RTCLib 与 CallLib 接收消息的方式,新版本消息走插件机制
|
|
4750
|
-
* @deprecated
|
|
4751
|
-
*/
|
|
4752
|
-
rtcInnerWatcher?: IRTCInnerListener;
|
|
4753
4807
|
/**
|
|
4754
4808
|
* 标签的增删改监听
|
|
4755
4809
|
*/
|
|
@@ -4786,6 +4840,7 @@ interface IWatcher {
|
|
|
4786
4840
|
ultraGroupChannelChangeType?: (list: IUltraChannelChangeInfo[]) => void;
|
|
4787
4841
|
ultraGroupChannelUserKicked?: (list: IUltraChannelUserKickedInfo[]) => void;
|
|
4788
4842
|
ultraGroupChannelDelete?: (list: IUltraChannelDeleteInfo[]) => void;
|
|
4843
|
+
userGroupStatus?: (data: IUserGroupStatusInfo) => void;
|
|
4789
4844
|
}
|
|
4790
4845
|
interface IAPIContextOption {
|
|
4791
4846
|
/**
|
|
@@ -4918,6 +4973,23 @@ declare class Codec<T> {
|
|
|
4918
4973
|
private fixInt64Values;
|
|
4919
4974
|
}
|
|
4920
4975
|
|
|
4976
|
+
declare const keymaps: CodecPBMaps;
|
|
4977
|
+
/**
|
|
4978
|
+
* 仅限 IM 内部包使用,禁止 RTCLib 直接使用从而导致业务依赖
|
|
4979
|
+
*/
|
|
4980
|
+
declare type RTCKeyMaps = typeof keymaps;
|
|
4981
|
+
|
|
4982
|
+
declare class RTCEntryHandler {
|
|
4983
|
+
private _pullQueue;
|
|
4984
|
+
private _isPulling;
|
|
4985
|
+
private _engine;
|
|
4986
|
+
private _pullTime;
|
|
4987
|
+
constructor(engine: AEngine);
|
|
4988
|
+
private _startPull;
|
|
4989
|
+
pullEntry(roomId: string, timestamp: number): void;
|
|
4990
|
+
reset(): void;
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4921
4993
|
declare class APIContext {
|
|
4922
4994
|
private _runtime;
|
|
4923
4995
|
private static _context?;
|
|
@@ -4941,7 +5013,8 @@ declare class APIContext {
|
|
|
4941
5013
|
* RTC 相关的编解码模块,用于向前兼容 RTC 旧版本的编解码,
|
|
4942
5014
|
* 包括向 CppEngine 提供 RTC 业务编解码能力
|
|
4943
5015
|
*/
|
|
4944
|
-
|
|
5016
|
+
readonly rtcCodec: Codec<RTCKeyMaps>;
|
|
5017
|
+
readonly rtcKVManager: RTCEntryHandler;
|
|
4945
5018
|
/**
|
|
4946
5019
|
* engine 内部日志工具
|
|
4947
5020
|
*/
|
|
@@ -5007,6 +5080,7 @@ declare class APIContext {
|
|
|
5007
5080
|
private _ultraGroupChannelChangeTypeListener;
|
|
5008
5081
|
private _ultraGroupChannelUserKickedListener;
|
|
5009
5082
|
private _ultraGroupChannelDeleteListener;
|
|
5083
|
+
private _userGroupStatusListener;
|
|
5010
5084
|
/**
|
|
5011
5085
|
* rtc 数据变更通知 pluginContext
|
|
5012
5086
|
*/
|
|
@@ -5660,74 +5734,7 @@ declare class APIContext {
|
|
|
5660
5734
|
code: ErrorCode;
|
|
5661
5735
|
buffer?: Uint8Array;
|
|
5662
5736
|
}>;
|
|
5663
|
-
/**
|
|
5664
|
-
* 加入房间
|
|
5665
|
-
* @param roomId
|
|
5666
|
-
* @param mode 房间模式:直播 or 会议
|
|
5667
|
-
* @param mediaType 直播房间模式下的媒体资源类型
|
|
5668
|
-
*/
|
|
5669
|
-
joinRTCRoom(roomId: string, mode: RTCMode, mediaType?: number, joinType?: RTCJoinType, innerUserDatas?: IRTCUserData, outerUserDatas?: IRTCUserData): Promise<IAsyncRes<IJoinRTCRoomData>>;
|
|
5670
|
-
quitRTCRoom(roomId: string): Promise<ErrorCode>;
|
|
5671
5737
|
rtcPing(roomId: string, mode: number, mediaType?: number): Promise<IAsyncRes<any>>;
|
|
5672
|
-
getRTCRoomInfo(roomId: string): Promise<IAsyncRes<IRTCRoomInfo>>;
|
|
5673
|
-
getRTCUserInfoList(roomId: string): Promise<IAsyncRes<IRTCUsers>>;
|
|
5674
|
-
getRTCUserInfo(roomId: string): IPromiseResult<unknown>;
|
|
5675
|
-
setRTCUserInfo(roomId: string, key: string, value: string): Promise<ErrorCode>;
|
|
5676
|
-
removeRTCUserInfo(roomId: string, keys: string[]): Promise<ErrorCode>;
|
|
5677
|
-
setRTCData(roomId: string, key: string, value: string, isInner: boolean, apiType: RTCApiType, message?: {
|
|
5678
|
-
name: string;
|
|
5679
|
-
content: string;
|
|
5680
|
-
}): Promise<ErrorCode>;
|
|
5681
|
-
setRTCTotalRes(roomId: string, message: {
|
|
5682
|
-
name: string;
|
|
5683
|
-
content: string;
|
|
5684
|
-
}, valueInfo: string, objectName: string, mcuValInfo?: string): Promise<ErrorCode>;
|
|
5685
|
-
setRTCCDNUris(roomId: string, objectName: string, CDNUris: string): Promise<ErrorCode>;
|
|
5686
|
-
getRTCData(roomId: string, keys: string[], isInner: boolean, apiType: RTCApiType): Promise<IAsyncRes<KVString>>;
|
|
5687
|
-
removeRTCData(roomId: string, keys: string[], isInner: boolean, apiType: RTCApiType, message?: {
|
|
5688
|
-
name: string;
|
|
5689
|
-
content: string;
|
|
5690
|
-
}): Promise<ErrorCode>;
|
|
5691
|
-
setRTCOutData(roomId: string, rtcData: unknown, type: number, message: unknown): Promise<ErrorCode>;
|
|
5692
|
-
getRTCOutData(roomId: string, userIds: string[]): IPromiseResult<unknown>;
|
|
5693
|
-
getRTCToken(roomId: string, mode: number, broadcastType?: number): Promise<IAsyncRes<IRtcTokenData>>;
|
|
5694
|
-
setRTCState(roomId: string, report: string): Promise<ErrorCode>;
|
|
5695
|
-
getRTCUserList(roomId: string): IPromiseResult<IRTCUsers>;
|
|
5696
|
-
/**
|
|
5697
|
-
* 直播观众加房间
|
|
5698
|
-
*/
|
|
5699
|
-
joinLivingRoomAsAudience(roomId: string, mode: RTCMode, broadcastType?: number): Promise<IAsyncRes<{
|
|
5700
|
-
token: string;
|
|
5701
|
-
kvEntries: IServerRTCRoomEntry[];
|
|
5702
|
-
}>>;
|
|
5703
|
-
/**
|
|
5704
|
-
* 直播观众退出房间
|
|
5705
|
-
*/
|
|
5706
|
-
quitLivingRoomAsAudience(roomId: string): Promise<ErrorCode>;
|
|
5707
|
-
/**
|
|
5708
|
-
* 直播身份切换
|
|
5709
|
-
*/
|
|
5710
|
-
rtcIdentityChange(roomId: string, changeType: RTCIdentityChangeType, broadcastType?: number): Promise<IAsyncRes<IJoinRTCRoomData>>;
|
|
5711
|
-
/**
|
|
5712
|
-
* 获取加入 RTC 房间的用户信息(当前仅能查自己的)
|
|
5713
|
-
*/
|
|
5714
|
-
getRTCJoinedUserInfo(userId: string): Promise<IAsyncRes<IRTCJoinedInfo[]>>;
|
|
5715
|
-
/**
|
|
5716
|
-
* 连麦 PK 请求
|
|
5717
|
-
*/
|
|
5718
|
-
requestRoomPK(options: IReqRoomPKOptions): Promise<ErrorCode>;
|
|
5719
|
-
/**
|
|
5720
|
-
* 取消连麦 PK 请求
|
|
5721
|
-
*/
|
|
5722
|
-
cancelRoomPK(options: ICancelRoomPKOptions): Promise<ErrorCode>;
|
|
5723
|
-
/**
|
|
5724
|
-
* 响应连麦 PK 请求
|
|
5725
|
-
*/
|
|
5726
|
-
responseRoomPK(options: IResRoomPKOptions): Promise<ErrorCode>;
|
|
5727
|
-
/**
|
|
5728
|
-
* 结束连麦 PK
|
|
5729
|
-
*/
|
|
5730
|
-
endRoomPK(options: IEndRoomPKOptions): Promise<ErrorCode>;
|
|
5731
5738
|
/**
|
|
5732
5739
|
* SDK设置聊天室关联的rtc房间
|
|
5733
5740
|
*/
|
|
@@ -5878,11 +5885,11 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
5878
5885
|
*/
|
|
5879
5886
|
rtcPingResVersion(roomId: string, mode: number, broadcastType?: number): Promise<IAsyncRes<any>>;
|
|
5880
5887
|
/**
|
|
5881
|
-
* @deprecated
|
|
5888
|
+
* @deprecated 兼容 rtc v3 方法调用
|
|
5882
5889
|
*/
|
|
5883
5890
|
getRTCRoomInfo(roomId: string): IPromiseResult<IRTCRoomInfo>;
|
|
5884
5891
|
/**
|
|
5885
|
-
* @deprecated
|
|
5892
|
+
* @deprecated 兼容 rtc v3 方法调用
|
|
5886
5893
|
*/
|
|
5887
5894
|
getRTCUserInfoList(roomId: string): IPromiseResult<IRTCUsers>;
|
|
5888
5895
|
/**
|
|
@@ -5890,11 +5897,11 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
5890
5897
|
*/
|
|
5891
5898
|
getRTCUserInfo(roomId: string): IPromiseResult<unknown>;
|
|
5892
5899
|
/**
|
|
5893
|
-
* @deprecated
|
|
5900
|
+
* @deprecated 兼容 rtc v3 方法调用
|
|
5894
5901
|
*/
|
|
5895
5902
|
setRTCUserInfo(roomId: string, key: string, value: string): Promise<ErrorCode>;
|
|
5896
5903
|
/**
|
|
5897
|
-
* @deprecated
|
|
5904
|
+
* @deprecated 兼容 rtc v3 方法调用
|
|
5898
5905
|
*/
|
|
5899
5906
|
removeRTCUserInfo(roomId: string, keys: string[]): Promise<ErrorCode>;
|
|
5900
5907
|
/**
|
|
@@ -5974,11 +5981,11 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
5974
5981
|
*/
|
|
5975
5982
|
getRTCToken(roomId: string, mode: number, broadcastType?: number): IPromiseResult<IRtcTokenData>;
|
|
5976
5983
|
/**
|
|
5977
|
-
* @deprecated
|
|
5984
|
+
* @deprecated RTC 北极星数据上报
|
|
5978
5985
|
*/
|
|
5979
5986
|
setRTCState(roomId: string, report: string): Promise<ErrorCode>;
|
|
5980
5987
|
/**
|
|
5981
|
-
* @deprecated
|
|
5988
|
+
* @deprecated 兼容 rtc v3 方法调用
|
|
5982
5989
|
*/
|
|
5983
5990
|
getRTCUserList(roomId: string): IPromiseResult<IRTCUsers>;
|
|
5984
5991
|
/**
|
|
@@ -6050,12 +6057,6 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
6050
6057
|
getRTCJoinedUserInfo(userId: string): IPromiseResult<IRTCJoinedInfo[]>;
|
|
6051
6058
|
}
|
|
6052
6059
|
|
|
6053
|
-
declare const keymaps: CodecPBMaps;
|
|
6054
|
-
/**
|
|
6055
|
-
* 仅限 IM 内部包使用,禁止 RTCLib 直接使用从而导致业务依赖
|
|
6056
|
-
*/
|
|
6057
|
-
declare type RTCKeyMaps = typeof keymaps;
|
|
6058
|
-
|
|
6059
6060
|
interface IEngineWatcher extends IConnectionListener {
|
|
6060
6061
|
/**
|
|
6061
6062
|
* @param message 消息
|
|
@@ -6085,6 +6086,7 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
6085
6086
|
groupMessageDeliveredStatus: (data: IGroupMessageDeliverStatus) => void;
|
|
6086
6087
|
callInfo: (data: string) => void;
|
|
6087
6088
|
onNaviDataChange: (naviInfo: INaviInfo) => void;
|
|
6089
|
+
userGroupStatus: (info: IUserGroupStatusInfo) => void;
|
|
6088
6090
|
}
|
|
6089
6091
|
/**
|
|
6090
6092
|
* 引擎定义
|
|
@@ -6817,51 +6819,7 @@ declare abstract class AEngine {
|
|
|
6817
6819
|
buffer?: Uint8Array;
|
|
6818
6820
|
}>;
|
|
6819
6821
|
abstract rtcPing(roomId: string, mode: number, broadcastType?: number): Promise<IAsyncRes<any>>;
|
|
6820
|
-
joinRTCRoom(roomId: string, mode: RTCMode, broadcastType?: number, joinType?: RTCJoinType, innerUserDatas?: IRTCUserData, outerUserDatas?: IRTCUserData): IPromiseResult<IJoinRTCRoomData>;
|
|
6821
|
-
quitRTCRoom(roomId: string): Promise<ErrorCode>;
|
|
6822
|
-
getRTCRoomInfo(roomId: string): IPromiseResult<IRTCRoomInfo>;
|
|
6823
|
-
getRTCUserInfoList(roomId: string): IPromiseResult<IRTCUsers>;
|
|
6824
|
-
getRTCUserInfo(roomId: string): IPromiseResult<unknown>;
|
|
6825
|
-
setRTCUserInfo(roomId: string, key: string, value: string): Promise<ErrorCode>;
|
|
6826
|
-
removeRTCUserInfo(roomId: string, keys: string[]): Promise<ErrorCode>;
|
|
6827
|
-
setRTCData(roomId: string, key: string, value: string, isInner: boolean, apiType: RTCApiType, message?: {
|
|
6828
|
-
name: string;
|
|
6829
|
-
content: string;
|
|
6830
|
-
}): Promise<ErrorCode>;
|
|
6831
|
-
/**
|
|
6832
|
-
* 全量订阅资源修改
|
|
6833
|
-
* @param roomId 房间 Id
|
|
6834
|
-
* @param message 向前兼容的消息内容
|
|
6835
|
-
* @param valueInfo 全量资源数据
|
|
6836
|
-
* @param objectName 全量 URI 消息名
|
|
6837
|
-
*/
|
|
6838
|
-
setRTCTotalRes(roomId: string, message: {
|
|
6839
|
-
name: string;
|
|
6840
|
-
content: string;
|
|
6841
|
-
}, valueInfo: string, objectName: string, mcuValInfo: string): Promise<ErrorCode>;
|
|
6842
|
-
getRTCData(roomId: string, keys: string[], isInner: boolean, apiType: RTCApiType): IPromiseResult<KVString>;
|
|
6843
|
-
removeRTCData(roomId: string, keys: string[], isInner: boolean, apiType: RTCApiType, message?: {
|
|
6844
|
-
name: string;
|
|
6845
|
-
content: string;
|
|
6846
|
-
}): Promise<ErrorCode>;
|
|
6847
|
-
setRTCOutData(roomId: string, rtcData: unknown, type: number, message: unknown): Promise<ErrorCode>;
|
|
6848
|
-
getRTCOutData(roomId: string, userIds: string[]): IPromiseResult<unknown>;
|
|
6849
|
-
getRTCToken(roomId: string, mode: number, broadcastType?: number): IPromiseResult<IRtcTokenData>;
|
|
6850
|
-
setRTCState(roomId: string, report: string): Promise<ErrorCode>;
|
|
6851
|
-
getRTCUserList(roomId: string): IPromiseResult<IRTCUsers>;
|
|
6852
|
-
joinLivingRoomAsAudience(roomId: string, mode: RTCMode, broadcastType?: number): Promise<IAsyncRes<{
|
|
6853
|
-
token: string;
|
|
6854
|
-
kvEntries: IServerRTCRoomEntry[];
|
|
6855
|
-
}>>;
|
|
6856
6822
|
pullRTCRoomEntry(roomId: string, _timestamp: number): Promise<IAsyncRes<IChrmKVPullData>>;
|
|
6857
|
-
quitLivingRoomAsAudience(roomId: string): Promise<ErrorCode>;
|
|
6858
|
-
rtcIdentityChange(roomId: string, changeType: RTCIdentityChangeType, broadcastType?: number): Promise<IAsyncRes<IJoinRTCRoomData>>;
|
|
6859
|
-
getRTCJoinedUserInfo(userId: string): Promise<IAsyncRes<IRTCJoinedInfo[]>>;
|
|
6860
|
-
setRTCCDNUris(roomId: string, objectName: string, CDNUris: string): Promise<ErrorCode>;
|
|
6861
|
-
requestRoomPK(options: IReqRoomPKOptions): Promise<ErrorCode>;
|
|
6862
|
-
cancelRoomPK(options: ICancelRoomPKOptions): Promise<ErrorCode>;
|
|
6863
|
-
responseRoomPK(options: IResRoomPKOptions): Promise<ErrorCode>;
|
|
6864
|
-
endRoomPK(options: IEndRoomPKOptions): Promise<ErrorCode>;
|
|
6865
6823
|
/**
|
|
6866
6824
|
* 设置聊天室关联的rtc房间
|
|
6867
6825
|
*/
|
|
@@ -7435,4 +7393,4 @@ declare type AbsCodec<T> = Codec<T>;
|
|
|
7435
7393
|
*/
|
|
7436
7394
|
declare const version: string;
|
|
7437
7395
|
|
|
7438
|
-
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AssertRules, BasicLogger, BasicNavi, BasicReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType, Codec, CodecPBMaps, ConnectionStatus, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DEFAULT_LOG_POLICY, DelayTimer, EnableLogL, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, ICancelRoomPKOptions, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, 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, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviInfo, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, RTCKeyMaps as InnerRTCKeyMaps, ItypingStateListener, KVString, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RCConnectionStatus, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, SentStatus, StoreKeys, TagChangeType, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, logger as engineLogger, forEach, getBrowser, getClientMessageId, getMimeKey, getUUID, getUUID22, getUploadFileName, indexOf, initLogDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, transcsv, usingCppEngine, validate, version };
|
|
7396
|
+
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AssertRules, BasicLogger, BasicNavi, BasicReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType, Codec, CodecPBMaps, ConnectionStatus, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DEFAULT_LOG_POLICY, DelayTimer, EnableLogL, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, 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, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviInfo, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, RTCKeyMaps as InnerRTCKeyMaps, ItypingStateListener, KVString, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RCConnectionStatus, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, SentStatus, StoreKeys, TagChangeType, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, logger as engineLogger, forEach, getBrowser, getClientMessageId, getMimeKey, getUUID, getUUID22, getUploadFileName, indexOf, initLogDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, transcsv, usingCppEngine, validate, version };
|