Manage in-meeting video

Use ZoomToolSuiteAPI.Meeting.Video after the SDK is initialized and you are in a meeting. Most calls take an optional meetingType.

Static methods are on ZoomToolSuiteAPI.Meeting.Video.

Spotlight another participant

To spotlight or remove a spotlight from a given user, first check whether the the meeting or webinar supports this functionality. Then, use a ZoomToolSuiteUser's iUserID from methods like ZoomToolSuiteAPI.Meeting.Participants.getMySelf or getUserByUserID. Finally, spotlight or unspotlight that user, or clear all spotlights in a meeting.

let userId = UInt32(ZoomToolSuiteAPI.Meeting.Participants.getMySelf().iUserID)
ZoomToolSuiteAPI.Meeting.Video.canSpotlight(iUserId: userId) { result in
    // result.result (ZoomToolSuiteSpotlightResult) when error_code == .success
}
ZoomToolSuiteAPI.Meeting.Video.spotlightVideo(iUserId: userId) { result in
}
ZoomToolSuiteAPI.Meeting.Video.canUnSpotlight(iUserId: userId) { result in
}
ZoomToolSuiteAPI.Meeting.Video.unSpotlightVideo(iUserId: userId) { result in
}
ZoomToolSuiteAPI.Meeting.Video.unSpotlightAllVideos { result in
}

Manage cameras

To turn on the current user's video, use unmuteMyVideo. To turn off the current user's video, use muteMyVideo. To toggle the current user's video muted state, use toggleMyVideoStatus.

ZoomToolSuiteAPI.Meeting.Video.muteMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.unmuteMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.toggleMyVideoStatus { result in
}

Pin videos

To pin the current user's video, use pinMyVideo. To unpin on the current user's video, use unpinMyVideo. To toggle whether the current user is pinned or not, use toggleMyVideoPinStatus.

ZoomToolSuiteAPI.Meeting.Video.pinMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.unpinMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.toggleMyVideoPinStatus { result in
}

Manage spotlighting videos

To let a user spotlight their own video, use spotlightMyVideo. To let a user remove the spotlight from their video, use unSpotlightMyVideo. To toggle spotlight on the current user, use toggleMyVideoSpotlightStatus.

ZoomToolSuiteAPI.Meeting.Video.spotlightMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.unSpotlightMyVideo { result in
}
ZoomToolSuiteAPI.Meeting.Video.toggleMyVideoSpotlightStatus { result in
}

Show the current user's avatar

To show the current user's avatar, use showAvatar. To determine if the current user's avatar is already showing, use isShowAvatar.

ZoomToolSuiteAPI.Meeting.Video.showAvatar(show: true) { result in
}
ZoomToolSuiteAPI.Meeting.Video.isShowAvatar { result in
    // result.bValue when error_code == .success
}