@cometchat/calls-sdk-javascript 4.0.9 → 4.0.10

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.
Files changed (35) hide show
  1. package/pack/index.js +1 -1
  2. package/pack/src/Helper.d.ts +5 -5
  3. package/pack/src/api/APIHandler.d.ts +39 -39
  4. package/pack/src/api/endpoints.d.ts +7 -7
  5. package/pack/src/api/helper.d.ts +69 -69
  6. package/pack/src/api/index.d.ts +2 -2
  7. package/pack/src/constants/CallConstants.d.ts +217 -217
  8. package/pack/src/constants/index.d.ts +1 -1
  9. package/pack/src/defaultCallsettings.d.ts +2 -2
  10. package/pack/src/index.d.ts +7 -7
  11. package/pack/src/models/CallGroup.d.ts +14 -14
  12. package/pack/src/models/CallLog.d.ts +276 -276
  13. package/pack/src/models/CallSettings.d.ts +382 -382
  14. package/pack/src/models/CallUser.d.ts +14 -14
  15. package/pack/src/models/CallsAppSettings.d.ts +41 -41
  16. package/pack/src/models/CometChatCallLogs.d.ts +189 -189
  17. package/pack/src/models/CometChatCalls.d.ts +180 -180
  18. package/pack/src/models/CometChatCallsException.d.ts +8 -8
  19. package/pack/src/models/ErrorModel.d.ts +12 -12
  20. package/pack/src/models/Listener.d.ts +86 -86
  21. package/pack/src/models/ListnerHandler.d.ts +10 -10
  22. package/pack/src/models/Participant.d.ts +184 -184
  23. package/pack/src/models/PresenterSettings.d.ts +265 -265
  24. package/pack/src/models/RTCUser.d.ts +18 -18
  25. package/pack/src/models/Recording.d.ts +86 -86
  26. package/pack/src/models/index.d.ts +10 -10
  27. package/pack/src/types/ICallSettings.d.ts +61 -61
  28. package/pack/src/types/ICallsAppSettings.d.ts +6 -6
  29. package/pack/src/types/RTCUser.d.ts +6 -6
  30. package/pack/src/types/callEvents.d.ts +88 -88
  31. package/pack/src/types/common.d.ts +14 -14
  32. package/pack/src/types/index.d.ts +2 -2
  33. package/pack/src/util/parseJwt.d.ts +1 -1
  34. package/pack/src/util/verifyCallSettings.d.ts +4 -4
  35. package/package.json +2 -2
@@ -1,265 +1,265 @@
1
- import { MainVideoContainerSetting, VirtualBackground } from "./CallSettings";
2
- import { OngoingCallListener } from "./Listener";
3
- export declare class PresenterSettings {
4
- static POSITION_TOP_LEFT: string;
5
- static POSITION_TOP_RIGHT: string;
6
- static POSITION_BOTTOM_LEFT: string;
7
- static POSITION_BOTTOM_RIGHT: string;
8
- static POSITION: {
9
- readonly TOP_LEFT: "top-left";
10
- readonly TOP_RIGHT: "top-right";
11
- readonly BOTTOM_LEFT: "bottom-left";
12
- readonly BOTTOM_RIGHT: "bottom-right";
13
- };
14
- static ASPECT_RATIO_DEFAULT: string;
15
- static ASPECT_RATIO_CONTAIN: string;
16
- static ASPECT_RATIO_COVER: string;
17
- static ASPECT_RATIO: {
18
- readonly DEFAULT: "default";
19
- readonly CONTAIN: "contain";
20
- readonly COVER: "cover";
21
- };
22
- private defaultLayout;
23
- private isAudioOnly;
24
- private isPresenter;
25
- private mode;
26
- private ShowEndCallButton;
27
- private ShowMuteAudioButton;
28
- private ShowPauseVideoButton;
29
- private ShowScreenShareButton;
30
- private ShowSwitchModeButton;
31
- private StartAudioMuted;
32
- private StartVideoMuted;
33
- private localizedObject;
34
- private analyticsSettings;
35
- private customCSS;
36
- private ShowRecordingButton;
37
- private StartRecordingOnCallStart;
38
- private callListener;
39
- private ShowSwitchToVideoCallButton;
40
- private VirtualBackground;
41
- private ShowVirtualBackgroundSetting;
42
- private MainVideoContainerSetting;
43
- constructor(builder?: PresenterSettingsBuilder);
44
- getCallListener(): OngoingCallListener;
45
- isRecordingButtonEnabled(): boolean;
46
- shouldStartRecordingOnCallStart(): boolean;
47
- getCustomCSS(): string;
48
- isAudioOnlyCall(): boolean;
49
- getIsPresenter(): boolean;
50
- isDefaultLayoutEnabled(): boolean;
51
- getMode(): "PRESENTER";
52
- getStartWithAudioMuted(): boolean;
53
- getStartWithVideoMuted(): boolean;
54
- isEndCallButtonEnabled(): boolean;
55
- isMuteAudioButtonEnabled(): boolean;
56
- isPauseVideoButtonEnabled(): boolean;
57
- isScreenShareButtonEnabled(): boolean;
58
- isModeButtonEnabled(): boolean;
59
- getLocalizedStringObject(): Object;
60
- getAnalyticsSettings(): Object;
61
- isAudioToVideoButtonEnabled(): boolean;
62
- getVirtualBackground(): VirtualBackground;
63
- isVirtualBackgroundSettingEnabled(): boolean;
64
- getMainVideoContainerSetting(): MainVideoContainerSetting;
65
- }
66
- export declare class PresenterSettingsBuilder {
67
- /** @private */ defaultLayout: boolean;
68
- /** @private */ isAudioOnly: boolean;
69
- /** @private */ isPresenter: boolean;
70
- /** @private */ ShowEndCallButton: boolean;
71
- /** @private */ ShowMuteAudioButton: boolean;
72
- /** @private */ ShowPauseVideoButton: boolean;
73
- /** @private */ ShowScreenShareButton: boolean;
74
- /** @private */ ShowSwitchModeButton: boolean;
75
- /** @private */ StartAudioMuted: boolean;
76
- /** @private */ StartVideoMuted: boolean;
77
- /** @private */ localizedObject: Object;
78
- /** @private */ analyticsSettings: Object;
79
- /** @private */ customCSS: string;
80
- /** @private */ ShowRecordingButton: boolean;
81
- /** @private */ StartRecordingOnCallStart: boolean;
82
- /** @private */ ShowSwitchToVideoCallButton: boolean;
83
- /** @private */ virtualBackground: VirtualBackground;
84
- /** @private */ ShowVirtualBackgroundSetting: boolean;
85
- /** @private */ MainVideoContainerSetting: MainVideoContainerSetting;
86
- /** @private */ callListener: OngoingCallListener;
87
- /**
88
- *
89
- * @param {boolean} defaultLayout
90
- * This methods shows/hides the default button layout.
91
- * If set to true the default button layout will be shown.
92
- * If set to false the default button layout will be hidden.
93
- * Default value is true
94
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
95
- */
96
- enableDefaultLayout(defaultLayout: boolean): this;
97
- /**
98
- *
99
- * @param {boolean} isAudioOnly
100
- * This methods sets the type(audio/video) of the call.
101
- * If set to true, the call will be strictly an audio call.
102
- * If set to false, the call will be an audio-video call.
103
- * Default value is false
104
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
105
- */
106
- setIsAudioOnlyCall(isAudioOnly: boolean): this;
107
- /**
108
- *
109
- * @param {boolean} isPresenter
110
- * This methods sets if the user is a presenter.
111
- * If set to true, user will be a presenter.
112
- * If set to false, user will not be a presenter.
113
- * Default value is false
114
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
115
- */
116
- setIsPresenter(isPresenter: boolean): this;
117
- /**
118
- *
119
- * @param {boolean} showEndCallButton
120
- * This method shows/hides the end call button.
121
- * If set to true it will display the end call button.
122
- * If set to false it will hide the end call button.
123
- * Default value is true.
124
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
125
- */
126
- showEndCallButton(showEndCallButton: boolean): this;
127
- /**
128
- *
129
- * @param {boolean} showMuteAudioButton
130
- * This method shows/hides the mute audio button.
131
- * If set to true it will display the mute audio button.
132
- * If set to false it will hide the mute audio button.
133
- * Default value is true.
134
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
135
- */
136
- showMuteAudioButton(showMuteAudioButton: boolean): this;
137
- /**
138
- *
139
- * @param {boolean} showPauseVideoButton
140
- * This method shows/hides the pause video button.
141
- * If set to true it will display the pause video button.
142
- * If set to false it will hide the pause video button.
143
- * Default value is true.
144
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
145
- */
146
- showPauseVideoButton(showPauseVideoButton: boolean): this;
147
- /**
148
- *
149
- * @param {boolean} showScreenShareButton
150
- * This method shows/hides the screen share button.
151
- * If set to true it will display the screen share button.
152
- * If set to false it will hide the screen share button.
153
- * Default value is true.
154
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
155
- */
156
- showScreenShareButton(showScreenShareButton: boolean): this;
157
- /**
158
- *
159
- * @param {boolean} showModeButton
160
- * This method shows/hides the switch mode button.
161
- * If set to true it will display the switch mode button.
162
- * If set to false it will hide the switch mode button.
163
- * Default value is true.
164
- * @returns
165
- */
166
- showModeButton(showModeButton: boolean): this;
167
- /**
168
- *
169
- * @param {Object} localizedStringObject
170
- * This method will set the localized text in the call screen.
171
- * @returns
172
- */
173
- setLocalizedStringObject(localizedStringObject: Object): this;
174
- /**
175
- * @private
176
- * @param {Object} analyticsSettings
177
- * This method will set the settings required for analytics.
178
- * @returns
179
- */
180
- setAnalyticsSettings(analyticsSettings: Object): this;
181
- /**
182
- *
183
- * @param {boolean} audioMuted
184
- * This method allows the call to be started with audio muted.
185
- * If set to true, the call will start with audio muted.
186
- * Default value is false.
187
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
188
- */
189
- startWithAudioMuted(audioMuted: boolean): this;
190
- /**
191
- *
192
- * @param {boolean} videoMuted
193
- * This method allows the call to be started with video muted.
194
- * If set to true, the call will start with video muted.
195
- * Default value is false.
196
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
197
- */
198
- startWithVideoMuted(videoMuted: boolean): this;
199
- /**
200
- *
201
- * @param {boolean} showRecordingButton
202
- * This method shows/hides the recording button.
203
- * If set to true it will display the recording button.
204
- * If set to false it will hide the recording button.
205
- * Default value is false.
206
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
207
- */
208
- showRecordingButton(showRecordingButton: boolean): this;
209
- /**
210
- *
211
- * @param {boolean} startRecordingOnCallStart
212
- * This method starts the recording as soon as the call start.
213
- * If set to true it will start the recording as soon as the call start.
214
- * Default value is false.
215
- * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
216
- */
217
- startRecordingOnCallStart(startRecordingOnCallStart: boolean): this;
218
- /**
219
- *
220
- * @param {boolean} showAudioToVideoSwitchButton
221
- * This method shows/hides the switch to video call button.
222
- * If set to true it will display the switch to video call button.
223
- * If set to false it will hide the switch to video call button.
224
- * Default value is true.
225
- * @returns
226
- */
227
- showSwitchToVideoCallButton(showAudioToVideoSwitchButton: boolean): this;
228
- /**
229
- *
230
- * @param {VirtualBackground} virtualBackground
231
- * This method will set the virtual background setting.
232
- * This methods takes an Object of VirtualBackground Class.
233
- * @returns
234
- */
235
- setVirtualBackground(virtualBackground: VirtualBackground): this;
236
- /**
237
- *
238
- * @param {boolean} showVirtualBackgroundSetting
239
- * This method shows/hides the virtual background setting button.
240
- * If set to true it will display the virtual background setting button.
241
- * If set to false it will hide the virtual background setting button.
242
- * Default value is true.
243
- * @returns
244
- */
245
- showVirtualBackgroundSetting(showVirtualBackgroundSetting: boolean): this;
246
- /**
247
- *
248
- * @param {MainVideoContainerSetting} mainVideoContainerSetting
249
- * This method can be used to customize the main video container.
250
- * @returns
251
- */
252
- setMainVideoContainerSetting(mainVideoContainerSetting: MainVideoContainerSetting): this;
253
- /**
254
- *
255
- * @param {OngoingCallListener} callListener
256
- * This method can be used to subscribe to available callings events
257
- * @returns
258
- */
259
- setCallListener(callListener: OngoingCallListener): this;
260
- /**
261
- * This method will return an object of the PresenterSettings class.
262
- * @returns {PresenterSettings} Returns the PresenterSettings instance
263
- */
264
- build(): PresenterSettings;
265
- }
1
+ import { MainVideoContainerSetting, VirtualBackground } from "./CallSettings";
2
+ import { OngoingCallListener } from "./Listener";
3
+ export declare class PresenterSettings {
4
+ static POSITION_TOP_LEFT: string;
5
+ static POSITION_TOP_RIGHT: string;
6
+ static POSITION_BOTTOM_LEFT: string;
7
+ static POSITION_BOTTOM_RIGHT: string;
8
+ static POSITION: {
9
+ readonly TOP_LEFT: "top-left";
10
+ readonly TOP_RIGHT: "top-right";
11
+ readonly BOTTOM_LEFT: "bottom-left";
12
+ readonly BOTTOM_RIGHT: "bottom-right";
13
+ };
14
+ static ASPECT_RATIO_DEFAULT: string;
15
+ static ASPECT_RATIO_CONTAIN: string;
16
+ static ASPECT_RATIO_COVER: string;
17
+ static ASPECT_RATIO: {
18
+ readonly DEFAULT: "default";
19
+ readonly CONTAIN: "contain";
20
+ readonly COVER: "cover";
21
+ };
22
+ private defaultLayout;
23
+ private isAudioOnly;
24
+ private isPresenter;
25
+ private mode;
26
+ private ShowEndCallButton;
27
+ private ShowMuteAudioButton;
28
+ private ShowPauseVideoButton;
29
+ private ShowScreenShareButton;
30
+ private ShowSwitchModeButton;
31
+ private StartAudioMuted;
32
+ private StartVideoMuted;
33
+ private localizedObject;
34
+ private analyticsSettings;
35
+ private customCSS;
36
+ private ShowRecordingButton;
37
+ private StartRecordingOnCallStart;
38
+ private callListener;
39
+ private ShowSwitchToVideoCallButton;
40
+ private VirtualBackground;
41
+ private ShowVirtualBackgroundSetting;
42
+ private MainVideoContainerSetting;
43
+ constructor(builder?: PresenterSettingsBuilder);
44
+ getCallListener(): OngoingCallListener;
45
+ isRecordingButtonEnabled(): boolean;
46
+ shouldStartRecordingOnCallStart(): boolean;
47
+ getCustomCSS(): string;
48
+ isAudioOnlyCall(): boolean;
49
+ getIsPresenter(): boolean;
50
+ isDefaultLayoutEnabled(): boolean;
51
+ getMode(): "PRESENTER";
52
+ getStartWithAudioMuted(): boolean;
53
+ getStartWithVideoMuted(): boolean;
54
+ isEndCallButtonEnabled(): boolean;
55
+ isMuteAudioButtonEnabled(): boolean;
56
+ isPauseVideoButtonEnabled(): boolean;
57
+ isScreenShareButtonEnabled(): boolean;
58
+ isModeButtonEnabled(): boolean;
59
+ getLocalizedStringObject(): Object;
60
+ getAnalyticsSettings(): Object;
61
+ isAudioToVideoButtonEnabled(): boolean;
62
+ getVirtualBackground(): VirtualBackground;
63
+ isVirtualBackgroundSettingEnabled(): boolean;
64
+ getMainVideoContainerSetting(): MainVideoContainerSetting;
65
+ }
66
+ export declare class PresenterSettingsBuilder {
67
+ /** @private */ defaultLayout: boolean;
68
+ /** @private */ isAudioOnly: boolean;
69
+ /** @private */ isPresenter: boolean;
70
+ /** @private */ ShowEndCallButton: boolean;
71
+ /** @private */ ShowMuteAudioButton: boolean;
72
+ /** @private */ ShowPauseVideoButton: boolean;
73
+ /** @private */ ShowScreenShareButton: boolean;
74
+ /** @private */ ShowSwitchModeButton: boolean;
75
+ /** @private */ StartAudioMuted: boolean;
76
+ /** @private */ StartVideoMuted: boolean;
77
+ /** @private */ localizedObject: Object;
78
+ /** @private */ analyticsSettings: Object;
79
+ /** @private */ customCSS: string;
80
+ /** @private */ ShowRecordingButton: boolean;
81
+ /** @private */ StartRecordingOnCallStart: boolean;
82
+ /** @private */ ShowSwitchToVideoCallButton: boolean;
83
+ /** @private */ virtualBackground: VirtualBackground;
84
+ /** @private */ ShowVirtualBackgroundSetting: boolean;
85
+ /** @private */ MainVideoContainerSetting: MainVideoContainerSetting;
86
+ /** @private */ callListener: OngoingCallListener;
87
+ /**
88
+ *
89
+ * @param {boolean} defaultLayout
90
+ * This methods shows/hides the default button layout.
91
+ * If set to true the default button layout will be shown.
92
+ * If set to false the default button layout will be hidden.
93
+ * Default value is true
94
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
95
+ */
96
+ enableDefaultLayout(defaultLayout: boolean): this;
97
+ /**
98
+ *
99
+ * @param {boolean} isAudioOnly
100
+ * This methods sets the type(audio/video) of the call.
101
+ * If set to true, the call will be strictly an audio call.
102
+ * If set to false, the call will be an audio-video call.
103
+ * Default value is false
104
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
105
+ */
106
+ setIsAudioOnlyCall(isAudioOnly: boolean): this;
107
+ /**
108
+ *
109
+ * @param {boolean} isPresenter
110
+ * This methods sets if the user is a presenter.
111
+ * If set to true, user will be a presenter.
112
+ * If set to false, user will not be a presenter.
113
+ * Default value is false
114
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
115
+ */
116
+ setIsPresenter(isPresenter: boolean): this;
117
+ /**
118
+ *
119
+ * @param {boolean} showEndCallButton
120
+ * This method shows/hides the end call button.
121
+ * If set to true it will display the end call button.
122
+ * If set to false it will hide the end call button.
123
+ * Default value is true.
124
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
125
+ */
126
+ showEndCallButton(showEndCallButton: boolean): this;
127
+ /**
128
+ *
129
+ * @param {boolean} showMuteAudioButton
130
+ * This method shows/hides the mute audio button.
131
+ * If set to true it will display the mute audio button.
132
+ * If set to false it will hide the mute audio button.
133
+ * Default value is true.
134
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
135
+ */
136
+ showMuteAudioButton(showMuteAudioButton: boolean): this;
137
+ /**
138
+ *
139
+ * @param {boolean} showPauseVideoButton
140
+ * This method shows/hides the pause video button.
141
+ * If set to true it will display the pause video button.
142
+ * If set to false it will hide the pause video button.
143
+ * Default value is true.
144
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
145
+ */
146
+ showPauseVideoButton(showPauseVideoButton: boolean): this;
147
+ /**
148
+ *
149
+ * @param {boolean} showScreenShareButton
150
+ * This method shows/hides the screen share button.
151
+ * If set to true it will display the screen share button.
152
+ * If set to false it will hide the screen share button.
153
+ * Default value is true.
154
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
155
+ */
156
+ showScreenShareButton(showScreenShareButton: boolean): this;
157
+ /**
158
+ *
159
+ * @param {boolean} showModeButton
160
+ * This method shows/hides the switch mode button.
161
+ * If set to true it will display the switch mode button.
162
+ * If set to false it will hide the switch mode button.
163
+ * Default value is true.
164
+ * @returns
165
+ */
166
+ showModeButton(showModeButton: boolean): this;
167
+ /**
168
+ *
169
+ * @param {Object} localizedStringObject
170
+ * This method will set the localized text in the call screen.
171
+ * @returns
172
+ */
173
+ setLocalizedStringObject(localizedStringObject: Object): this;
174
+ /**
175
+ * @private
176
+ * @param {Object} analyticsSettings
177
+ * This method will set the settings required for analytics.
178
+ * @returns
179
+ */
180
+ setAnalyticsSettings(analyticsSettings: Object): this;
181
+ /**
182
+ *
183
+ * @param {boolean} audioMuted
184
+ * This method allows the call to be started with audio muted.
185
+ * If set to true, the call will start with audio muted.
186
+ * Default value is false.
187
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
188
+ */
189
+ startWithAudioMuted(audioMuted: boolean): this;
190
+ /**
191
+ *
192
+ * @param {boolean} videoMuted
193
+ * This method allows the call to be started with video muted.
194
+ * If set to true, the call will start with video muted.
195
+ * Default value is false.
196
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
197
+ */
198
+ startWithVideoMuted(videoMuted: boolean): this;
199
+ /**
200
+ *
201
+ * @param {boolean} showRecordingButton
202
+ * This method shows/hides the recording button.
203
+ * If set to true it will display the recording button.
204
+ * If set to false it will hide the recording button.
205
+ * Default value is false.
206
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
207
+ */
208
+ showRecordingButton(showRecordingButton: boolean): this;
209
+ /**
210
+ *
211
+ * @param {boolean} startRecordingOnCallStart
212
+ * This method starts the recording as soon as the call start.
213
+ * If set to true it will start the recording as soon as the call start.
214
+ * Default value is false.
215
+ * @returns {PresenterSettingsBuilder} Returns the PresenterSettingsBuilder instance
216
+ */
217
+ startRecordingOnCallStart(startRecordingOnCallStart: boolean): this;
218
+ /**
219
+ *
220
+ * @param {boolean} showAudioToVideoSwitchButton
221
+ * This method shows/hides the switch to video call button.
222
+ * If set to true it will display the switch to video call button.
223
+ * If set to false it will hide the switch to video call button.
224
+ * Default value is true.
225
+ * @returns
226
+ */
227
+ showSwitchToVideoCallButton(showAudioToVideoSwitchButton: boolean): this;
228
+ /**
229
+ *
230
+ * @param {VirtualBackground} virtualBackground
231
+ * This method will set the virtual background setting.
232
+ * This methods takes an Object of VirtualBackground Class.
233
+ * @returns
234
+ */
235
+ setVirtualBackground(virtualBackground: VirtualBackground): this;
236
+ /**
237
+ *
238
+ * @param {boolean} showVirtualBackgroundSetting
239
+ * This method shows/hides the virtual background setting button.
240
+ * If set to true it will display the virtual background setting button.
241
+ * If set to false it will hide the virtual background setting button.
242
+ * Default value is true.
243
+ * @returns
244
+ */
245
+ showVirtualBackgroundSetting(showVirtualBackgroundSetting: boolean): this;
246
+ /**
247
+ *
248
+ * @param {MainVideoContainerSetting} mainVideoContainerSetting
249
+ * This method can be used to customize the main video container.
250
+ * @returns
251
+ */
252
+ setMainVideoContainerSetting(mainVideoContainerSetting: MainVideoContainerSetting): this;
253
+ /**
254
+ *
255
+ * @param {OngoingCallListener} callListener
256
+ * This method can be used to subscribe to available callings events
257
+ * @returns
258
+ */
259
+ setCallListener(callListener: OngoingCallListener): this;
260
+ /**
261
+ * This method will return an object of the PresenterSettings class.
262
+ * @returns {PresenterSettings} Returns the PresenterSettings instance
263
+ */
264
+ build(): PresenterSettings;
265
+ }
@@ -1,18 +1,18 @@
1
- export declare class RTCUser {
2
- private uid;
3
- private avatar;
4
- private name;
5
- private jwt;
6
- private resource;
7
- constructor(uid: any);
8
- setUID(uid: string): void;
9
- getUID(): string;
10
- setName(name: string): void;
11
- getName(): string;
12
- setAvatar(avatar: string): void;
13
- getAvatar(): string;
14
- setJWT(jwt: string): void;
15
- getJWT(): string;
16
- setResource(resource: string): void;
17
- getResource(): string;
18
- }
1
+ export declare class RTCUser {
2
+ private uid;
3
+ private avatar;
4
+ private name;
5
+ private jwt;
6
+ private resource;
7
+ constructor(uid: any);
8
+ setUID(uid: string): void;
9
+ getUID(): string;
10
+ setName(name: string): void;
11
+ getName(): string;
12
+ setAvatar(avatar: string): void;
13
+ getAvatar(): string;
14
+ setJWT(jwt: string): void;
15
+ getJWT(): string;
16
+ setResource(resource: string): void;
17
+ getResource(): string;
18
+ }