@zegocloud/zego-uikit-prebuilt 2.2.0 → 2.3.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 +4 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
package/index.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ declare interface ZegoCloudRoomConfig {
|
|
|
106
106
|
frameRate?: number
|
|
107
107
|
maxBitRate?: number
|
|
108
108
|
// 2.2.0
|
|
109
|
-
onError?: (errorCode: number) => string | undefined //
|
|
109
|
+
onError?: (errorCode: number) => string | undefined // Screen sharing failure callback. If you need to customize the prompt text, you can return the corresponding string based on the error code. If you need to customize the UI, you can return an empty string.
|
|
110
110
|
} // Screen sharing settings, resolution settings
|
|
111
111
|
|
|
112
112
|
// 1.2 Prejoin view
|
|
@@ -346,4 +346,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
346
346
|
sendInRoomCustomCommand(command: object, priority?: MessagePriority): Promise<ZegoSignalingInRoomCommandMessage>;
|
|
347
347
|
hangUp(): void;
|
|
348
348
|
setLanguage(language: ZegoUIKitLanguage): void;
|
|
349
|
+
// 2.3.0
|
|
350
|
+
autoLeaveRoomWhenOnlySelfInRoom: boolean;
|
|
351
|
+
getRoomID(): string;
|
|
349
352
|
}
|