@zegocloud/zego-uikit-prebuilt 2.1.0 → 2.2.0
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 +9 -2
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
package/index.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ declare interface ZegoCloudRoomConfig {
|
|
|
105
105
|
height?: number
|
|
106
106
|
frameRate?: number
|
|
107
107
|
maxBitRate?: number
|
|
108
|
+
// 2.2.0
|
|
109
|
+
onError?: (errorCode: number) => string | undefined // custom screen sharing failure pop-up text or pop-up
|
|
108
110
|
} // Screen sharing settings, resolution settings
|
|
109
111
|
|
|
110
112
|
// 1.2 Prejoin view
|
|
@@ -174,7 +176,12 @@ declare interface ZegoCloudRoomConfig {
|
|
|
174
176
|
addInRoomMessageMessageAttributes?: () => any // add in room message message attribute. return custom message attribute.
|
|
175
177
|
customMessageUI?: (msg: InRoomMessageInfo) => Element // Custom message UI. need return Element.
|
|
176
178
|
// 2.1.0
|
|
177
|
-
language?: ZegoUIKitLanguage
|
|
179
|
+
language?: ZegoUIKitLanguage // set language
|
|
180
|
+
// 2.2.0
|
|
181
|
+
leaveRoomDialogConfig?: {
|
|
182
|
+
titleText?: string, // custom leave room confrim dialog title
|
|
183
|
+
descriptionText?: string, // // custom leave room confrim dialog desctiption
|
|
184
|
+
}
|
|
178
185
|
}
|
|
179
186
|
|
|
180
187
|
export enum RightPanelExpandedType {
|
|
@@ -252,7 +259,7 @@ declare interface ZegoCallInvitationConfig {
|
|
|
252
259
|
//When the call exceeds the fixed time, if there are still callees who do not respond, the caller will receive the callback, convert the internal data into corresponding data and throw it.
|
|
253
260
|
onOutgoingCallTimeout?: (callID: string, callees: ZegoUser[]) => void;
|
|
254
261
|
// 2.1.0
|
|
255
|
-
language?: ZegoUIKitLanguage
|
|
262
|
+
language?: ZegoUIKitLanguage // set language
|
|
256
263
|
}
|
|
257
264
|
|
|
258
265
|
declare interface ZegoSignalingPluginNotificationConfig {
|