nim-web-sdk-ng 0.6.1 → 0.6.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.
@@ -28,6 +28,19 @@ export interface ChatroomInterface {
28
28
  * @locale
29
29
  */
30
30
  disconnect(): Promise<void>;
31
+ /**
32
+ * @Multi_Lang_Tag
33
+ * @locale cn
34
+ * 更新初始化传入的参数,在初始化完成后使用
35
+ *
36
+ * 请注意!传入的参数会在下一次调用connect或重连生效
37
+ *
38
+ * @locale
39
+ *
40
+ * @locale en
41
+ * @locale
42
+ */
43
+ setOptions(options: ChatroomInitializeOptions): void;
31
44
  /**
32
45
  * @Multi_Lang_Tag
33
46
  * @locale cn
@@ -13,6 +13,7 @@ export default class QChat extends EventEmitter<ChatroomEventInterface> implemen
13
13
  cloudStorage: CloudStorageServiceInterface;
14
14
  constructor(options: ChatroomInitializeOptions);
15
15
  connect(): Promise<void>;
16
+ setOptions(): Promise<void>;
16
17
  disconnect(): Promise<void>;
17
18
  destroy(): Promise<void>;
18
19
  static setAdapters(newAdapters: any): void;