@zegocloud/zego-uikit-prebuilt 2.13.6-beta → 2.13.7-beta
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 +18 -0
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
package/index.d.ts
CHANGED
|
@@ -218,6 +218,21 @@ declare interface ZegoCloudRoomConfig {
|
|
|
218
218
|
}
|
|
219
219
|
// Send Message Response
|
|
220
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"
|
|
221
236
|
}
|
|
222
237
|
|
|
223
238
|
export enum RightPanelExpandedType {
|
|
@@ -397,4 +412,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
397
412
|
getRoomID(): string;
|
|
398
413
|
// 2.11.0
|
|
399
414
|
updateCallingInvitationListConfig(config: CallingInvitationListConfig): void
|
|
415
|
+
// 2.13.0
|
|
416
|
+
rotateToLandscape(): void
|
|
417
|
+
rotateToPortrait(): void
|
|
400
418
|
}
|