Breaking changes
With the change from UI Toolkit 1.0 to 2.0, the toolkit is no longer one full-screen layout. In 1.0, UiToolkitView filled the screen and owned the session UI. In 2.0, you place each button and the video surface yourself and decide the layout.
Added
- Video - add
ZMUIToolkitVideoPagefor speaker view, gallery, screen share, and a draggable self picture-in-picture tile. A remote share can be pinched to zoom up to 5x. Double-tap resets the zoom. A REC badge appears while cloud recording is active or paused. - Buttons - add only the controls you need:
ZMUIToolKitAudioBtn,ZMUIToolKitVideoBtn,ZMUIToolKitShareBtn,ZMUIToolKitPauseShareBtn,ZMUIToolKitParticipantsBtn,ZMUIToolKitChatBtn,ZMUIToolKitVirtualBackgroundBtn,ZMUIToolKitSwitchCameraBtn,ZMUIToolKitMoreBtn, andZMUIToolKitLeaveBtn. - Participants - the list is searchable and shows a live count. A participant can rename themselves. The host can rename anyone, mute a participant, make host, make co-host, remove a participant, and mute everyone.
- Leave - a non-host leaves only themselves. A host who leaves while others remain assigns a new host first. End for all asks for confirmation.
- Chat - the chat button shows an unread count. Messages can go to everyone or to one participant, and last only for the current session. The same panel opens from More.
- Virtual background - None, Blur, and images, from its own button or from More. It appears only when the device supports it. Add
us.zoom.videosdk:zoomvideosdk-videoeffects:2.6.11alongsidezoomvideosdk-core. It is not included automatically. - Switch camera - swaps the front and rear cameras, and hides itself when the device has only one camera.
- More - choose which of Chat, virtual background, recording, share pause and resume, and Settings are shown. Cancel is always shown. Settings includes rename and network statistics. Cloud recording, including the consent prompt, is one of the More items.
Changed
New installation instructions for the new UI Toolkit 2.0.
- Add the toolkit from Maven Central:
us.zoom:zmuitoolkit.
implementation("us.zoom:zmuitoolkit:2.6.11")
implementation("us.zoom.videosdk:zoomvideosdk-core:2.6.11")
implementation("us.zoom.videosdk:zoomvideosdk-videoeffects:2.6.11")
zmuitoolkitdoes not pull in the Video SDK. Addzoomvideosdk-coreyourself. Addzoomvideosdk-videoeffectswhen you use virtual background.
