@zegocloud/zego-uikit-prebuilt 2.13.7-beta → 2.14.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 -28
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- package/zego-uikit-prebuilt.js.LICENSE.txt +11 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ZegoUIKitCreateConfig } from "../src/sdk/model";
|
|
2
|
-
|
|
3
1
|
declare type ZegoCloudRTCCore = {};
|
|
4
2
|
declare type ZegoExpressEngine = {};
|
|
5
3
|
declare interface ZegoUser {
|
|
@@ -211,28 +209,9 @@ declare interface ZegoCloudRoomConfig {
|
|
|
211
209
|
showWaitingCallAcceptAudioVideoView?: boolean;
|
|
212
210
|
// Configure the call invitation list during a call
|
|
213
211
|
callingInvitationListConfig?: CallingInvitationListConfig;
|
|
214
|
-
// 2.13.
|
|
215
|
-
//
|
|
216
|
-
|
|
217
|
-
objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
|
|
218
|
-
}
|
|
219
|
-
// Send Message Response
|
|
220
|
-
onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string }) => void
|
|
221
|
-
// Screen rotation Button
|
|
222
|
-
showRotatingScreenButton?: boolean;
|
|
223
|
-
// Screen rotation notification
|
|
224
|
-
onScreenRotation?: () => void
|
|
225
|
-
// User status updated
|
|
226
|
-
onUserStateUpdated?: (status: ZegoUserState) => void
|
|
227
|
-
// Member view config
|
|
228
|
-
memberViewConfig?: {
|
|
229
|
-
operationListCustomButton?: () => Element
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export enum ZegoUserState {
|
|
234
|
-
Normal = "Normal",
|
|
235
|
-
Banned = "Banned"
|
|
212
|
+
// 2.13.0
|
|
213
|
+
// Custom view in the room, located above the video
|
|
214
|
+
requireRoomForegroundView?: () => HTMLElement;
|
|
236
215
|
}
|
|
237
216
|
|
|
238
217
|
export enum RightPanelExpandedType {
|
|
@@ -388,7 +367,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
388
367
|
userID: string,
|
|
389
368
|
userName?: string
|
|
390
369
|
): string;
|
|
391
|
-
static create(kitToken: string,
|
|
370
|
+
static create(kitToken: string, cloudProxyConfig?: { proxyList: { hostName: string, port?: number }[] }): ZegoUIKitPrebuilt;
|
|
392
371
|
addPlugins(plugins?: { ZegoSuperBoardManager?: any; ZIM?: any }): void;
|
|
393
372
|
joinRoom(roomConfig?: ZegoCloudRoomConfig): void;
|
|
394
373
|
destroy(): void;
|
|
@@ -412,7 +391,4 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
412
391
|
getRoomID(): string;
|
|
413
392
|
// 2.11.0
|
|
414
393
|
updateCallingInvitationListConfig(config: CallingInvitationListConfig): void
|
|
415
|
-
// 2.13.0
|
|
416
|
-
rotateToLandscape(): void
|
|
417
|
-
rotateToPortrait(): void
|
|
418
394
|
}
|