Video SDK for iOS API Reference
Loading...
Searching...
No Matches
<ZoomVideoSDKDelegate> Protocol Reference

A listener class that groups together the callbacks related to a session. More...

#include <ZoomVideoSDKDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - onSessionJoin
 Callback: Invoked when the current user joins the session.
 
(void) - onSessionLeave
 Callback: Invoked when the current user leaves the session.
 
(void) - onSessionLeave:
 Invoked when the current user leaves the session with reason.
 
(void) - onError:detail:
 Callback: Invoked when errors occur.
 
(void) - onUserJoin:users:
 Callback: Invoked when a user joins the session.
 
(void) - onUserLeave:users:
 Callback: Invoked when a user leaves the session.
 
(void) - onUserVideoStatusChanged:user:
 Invoked when a user makes changes to their video, such as starting or stopping their video.
 
(void) - onUserAudioStatusChanged:user:
 Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio.
 
(void) - onUserShareStatusChanged:user:shareAction:
 Invoked when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing.
 
(void) - onFailedToStartShare:user:
 Invoked when a user failed to start sharing.
 
(void) - onShareSettingChanged:
 Notification of share setting changed.
 
(void) - onLiveStreamStatusChanged:status:
 Callback: Invoked when a user makes changes to their live stream status.
 
(void) - onChatPrivilegeChanged:privilege:
 The chat privilege of participant has changed.
 
(void) - onChatNewMessageNotify:message:
 Callback: Invoked when receiving a chat message.
 
(void) - onChatMsgDeleteNotification:messageID:deleteBy:
 Callback: Invoked when a user deletes a chat message.
 
(void) - onUserHostChanged:users:
 Callback: Invoked when the session host changes.
 
(void) - onUserManagerChanged:
 Callback: Invoked when the manager of the session changes.
 
(void) - onUserNameChanged:
 Callback: Invoked when a user changes their name.
 
(void) - onUserActiveAudioChanged:users:
 Callback: Invoked when the active audio changes.
 
(void) - onSessionNeedPassword:
 Callback: Invoked when the session requires a password to join.
 
(void) - onSessionPasswordWrong:
 Callback: Invoked when the provided session password is wrong or invalid.
 
(void) - onMixedAudioRawDataReceived:
 Callback: Invoked when mixed (all users) audio raw data received.
 
(void) - onOneWayAudioRawDataReceived:user:
 Callback: Invoked when individual user's audio raw data received.
 
(void) - onSharedAudioRawDataReceived:
 Callback: Invoked when receiving shared raw audio data.
 
(void) - onInviteByPhoneStatus:failReason:
 Callback: Invoked when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed.
 
(void) - onCalloutJoinSuccess:phoneNumber:
 Callback: Invoked when the invite by phone user joined session success.
 
(void) - onCmdChannelConnectResult:
 Callback: Invoked when the command channel is ready to be used. When the SDK attempts to establish a connection for the command channel when joining a session, this callback is triggered once the connection attempt for the command channel is completed.
 
(void) - onCommandReceived:sendUser:
 Callback: Invoked when receiving a message, data, or a command from the command channel. Once the command channel is active, this callback is triggered each time a message is received.
 
(void) - onCameraControlRequestResult:approved:
 Callback for when the current user is granted camera control access.
 
(void) - onCloudRecordingStatus:recordAgreementHandler:
 Callback: Invoked when cloud recording status has started, paused, stopped, resumed, or otherwise changed.
 
(void) - onUserRecordAgreementNotification:
 Callback: user agreement status change.
 
(void) - onHostAskUnmute
 Callback: Invoked when a host requests you to unmute yourself.
 
(void) - onMultiCameraStreamStatusChanged:parentUser:videoPipe:
 Callback: Invoked when someone in a given session enables or disables multi-camera. All participants in the session receive this callback.
 
(void) - onMultiCameraStreamStatusChanged:parentUser:videoCanvas:
 Callback: Invoked when someone enables/disables multi-camera. This callback is received by all participants.
 
(void) - onTestMicStatusChanged:
 Callback: Notify the mic status when testing.
 
(void) - onMicSpeakerVolumeChanged:speakerVolume:
 Callback: Notify the current mic or speaker volume when testing.
 
(void) - onAudioLevelChanged:audioSharing:user:
 Called when the audio level change of participants changes.
 
(void) - onSystemPermissionRequired:
 Callback: Invoked when the SDK requires system permissions to continue functioning.
 
(void) - onLiveTranscriptionStatus:
 Callback: Invoked when live transcription status changes.
 
(void) - onLiveTranscriptionMsgReceived:
 Callback: when a live transcription message is received.
 
(void) - onOriginalLanguageMsgReceived:
 Callback: Original language message received callback.
 
(void) - onLiveTranscriptionMsgError:transLanguage:
 Callback: Invoked when a live translation error occurs.
 
(void) - onSpokenLanguageChanged:
 Callback when the spoken language has changed.
 
(void) - onProxySettingNotification:
 The callback will be triggered if the proxy requests to input the username and password.Use the handler to configure the related information.
 
(void) - onSSLCertVerifiedFailNotification:
 The callback will be triggered when the SSL is verified.Use the handler to check the related information.
 
(void) - onUserVideoNetworkStatusChanged:user:
 Called when a user's network status changes (Lite SDK only).
 
(void) - onUserShareNetworkStatusChanged:isSending:
 Notification of the current user's share network quality changes.
 
(void) - onUserNetworkStatusChanged:level:user:
 Called when the user's share network quality changes.
 
(void) - onUserOverallNetworkStatusChanged:user:
 Callback event when a user's overall network status changes.
 
(void) - onCallCRCDeviceStatusChanged:
 Callback event of the call CRC device's status.
 
(void) - onAnnotationHelperCleanUp:
 Callback for the annotation helper clean up. After this callback, SDK will release the ZoomVideoSDKAnnotationHelper as well.
 
(void) - onAnnotationPrivilegeChange:shareOwner:
 Callback for the annotation privilege change.
 
(void) - onAnnotationPrivilegeChangeWithUser:shareAction:
 Callback for the annotation privilege change.
 
(void) - onShareContentChanged:user:shareAction:
 Callback: Invoked when a user makes changes to their share content type, such as switching camera share to normal share. Find the share type in ZoomVideoSDKShareType.
 
(void) - onShareCaptureSizeChanged:user:shareAction:
 
(void) - onVideoCanvasSubscribeFail:user:view:
 Callback event for the subscribed user's video fail reason.
 
(void) - onShareCanvasSubscribeFail:user:view:
 Callback event for the subscribed user's share fail reason.
 
(void) - onShareCanvasSubscribeFailWithUser:view:shareAction:
 Callback event for the share canvas that failed to subscribe.
 
(void) - onSendFileStatus:status:
 Invoked when send file status make change.
 
(void) - onReceiveFileStatus:status:
 Invoked when send file status make change.
 
(void) - onVideoAlphaChannelStatusChanged:
 Callback event of video alpha channel mode changes.
 
(void) - onSpotlightVideoChanged:userList:
 Callback event of spotlighted video user changes.
 
(void) - onBindIncomingLiveStreamResponse:success:streamKeyID:
 Callback event of binds the incoming live stream.
 
(void) - onUnbindIncomingLiveStreamResponse:success:streamKeyID:
 Callback event of unbinds the incoming live stream.
 
(void) - onIncomingLiveStreamStatusResponse:success:streamsStatusList:
 Callback event of gets the streams status.
 
(void) - onStartIncomingLiveStreamResponse:success:streamKeyID:
 Callback event of starts the binded stream.
 
(void) - onStopIncomingLiveStreamResponse:success:streamKeyID:
 Callback event of stops the binded stream.
 
(void) - onShareContentSizeChanged:user:shareAction:
 Invoked when the share content size has changed.
 
(void) - onUVCCameraStatusChange:
 Callback is invoked when the external UVC camera status changes.
 
(void) - onSubSessionStatusChanged:subSession:
 Callback event that the SubSession status changed.
 
(void) - onSubSessionManagerHandle:
 Callback event that the user has SubSession manager privilege.
 
(void) - onSubSessionParticipantHandle:
 Callback event that the user has SubSession attendee privilege.
 
(void) - onSubSessionUsersUpdate:
 Callback event that the users of a SubSession has updated.
 
(void) - onBroadcastMessageFromMainSession:userName:
 Callback event that the user receives the main session broadcast message.
 
(void) - onSubSessionUserHelpRequestHandler:
 Callback event that the user receives the help request from SubSession.
 
(void) - onSubSessionUserHelpRequestResult:
 Callback event that the result of help request.
 
(void) - onMyAudioSourceTypeChanged:
 Callback invoked when the current user's audio source changes.
 
(void) - onInAppScreenShareErrorCode:
 Called when in-app screen sharing session encounters an error or success.
 
(void) - onInAppScreenShareAvailableChanged:
 Called when the availablity of in-app screen sharing changes. Use this callback to enable or disable screen sharing controls in your UI based on current availability.
 
(void) - onStartBroadcastResponse:channelID:
 Notificates of the response of broadcast streaming.
 
(void) - onStopBroadcastResponse:
 Notificates of the response of broadcast streaming.
 
(void) - onGetBroadcastControlStatus:status:
 Notificates of the response that gets broadcast status.
 
(void) - onStreamingJoinStatusChanged:
 Notificates when the viewer's joins status changes.
 
(void) - onWhiteboardExported:data:
 Callback invoked when a whiteboard file export completes.
 
(void) - onUserWhiteboardShareStatusChanged:whiteboardhelper:
 Callback invoked when a user changes their whiteboard sharing status, such as starting or stopping whiteboard sharing.
 

Detailed Description

A listener class that groups together the callbacks related to a session.

Definition at line 39 of file ZoomVideoSDKDelegate.h.

Method Documentation

◆ onAnnotationHelperCleanUp:

- (void) onAnnotationHelperCleanUp: (ZoomVideoSDKAnnotationHelper *_Nullable) helper
optionalrequired

Callback for the annotation helper clean up. After this callback, SDK will release the ZoomVideoSDKAnnotationHelper as well.

Parameters
helperThe helper clean up object.

◆ onAnnotationPrivilegeChange:shareOwner:

- (void) onAnnotationPrivilegeChange: (BOOL) enable
shareOwner: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Callback for the annotation privilege change.

Parameters
enableYES means the user is able to annotate, NO means the user is not able to annotate.
userThe user who changed viewer's annotation privilege.
Deprecated
use -[ZoomVideoSDKDelegate onAnnotationPrivilegeChangeWithUser:shareAction:] instead.

◆ onAnnotationPrivilegeChangeWithUser:shareAction:

- (void) onAnnotationPrivilegeChangeWithUser: (ZoomVideoSDKUser *_Nullable) user
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Callback for the annotation privilege change.

Parameters
userThe pointer to a user object who changed viewer's annotation privilege.
shareActionThe pointer to a share object.

◆ onAudioLevelChanged:audioSharing:user:

- (void) onAudioLevelChanged: (NSUInteger) level
audioSharing: (BOOL) bAudioSharing
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Called when the audio level change of participants changes.

Parameters
levelThe current audio level of the user, in the range [0, 9].
bAudioSharingYES if the audio level is from shared audio, such as computer audio; otherwise it's from the microphone.
userThe user whose audio level has changed.

◆ onBindIncomingLiveStreamResponse:success:streamKeyID:

- (void) onBindIncomingLiveStreamResponse: (ZoomVideoSDKIncomingLiveStreamHelper *_Nullable) helper
success: (BOOL) success
streamKeyID: (NSString *_Nullable) streamKeyID 
optionalrequired

Callback event of binds the incoming live stream.

Parameters
helperIncoming live stream helper utility.
successYES is success, otherwise NO.
streamKeyIDCorresponding stream key ID.

◆ onBroadcastMessageFromMainSession:userName:

- (void) onBroadcastMessageFromMainSession: (NSString *_Nonnull) sMessage
userName: (NSString *_Nonnull) sUserName 
optionalrequired

Callback event that the user receives the main session broadcast message.

Parameters
sMessageThe message content.
sUserNameThe name of the user who broadcast this message.

◆ onCallCRCDeviceStatusChanged:

- (void) onCallCRCDeviceStatusChanged: (ZoomVideoSDKCRCCallStatus) state
optionalrequired

Callback event of the call CRC device's status.

Parameters
stateThe call out status.

◆ onCalloutJoinSuccess:phoneNumber:

- (void) onCalloutJoinSuccess: (ZoomVideoSDKUser *_Nullable) user
phoneNumber: (NSString *_Nullable) phoneNumber 
optionalrequired

Callback: Invoked when the invite by phone user joined session success.

Parameters
usersuccess joined user, See [ZoomVideoSDKUser].
phoneNumberphone number of callout.

◆ onCameraControlRequestResult:approved:

- (void) onCameraControlRequestResult: (ZoomVideoSDKUser *_Nullable) user
approved: (BOOL) isApproved 
optionalrequired

Callback for when the current user is granted camera control access.

Note
Once the current user sends the camera control request, this callback will be triggered with the result of the request.
Parameters
userThe pointer to the user who received the request.
isApprovedThe result of the camera control request.

◆ onChatMsgDeleteNotification:messageID:deleteBy:

- (void) onChatMsgDeleteNotification: (ZoomVideoSDKChatHelper *_Nullable) helper
messageID: (NSString *_Nonnull) msgID
deleteBy: (ZoomVideoSDKChatMsgDeleteBy) type 
optionalrequired

Callback: Invoked when a user deletes a chat message.

Parameters
helperChat helper utility.
msgIDThe deleted message's ID.
typeIndicates by whom the message was deleted, which is defined in [ZoomVideoSDKChatMsgDeleteBy].

◆ onChatNewMessageNotify:message:

- (void) onChatNewMessageNotify: (ZoomVideoSDKChatHelper *_Nullable) helper
message: (ZoomVideoSDKChatMessage *_Nullable) chatMessage 
optionalrequired

Callback: Invoked when receiving a chat message.

Parameters
helperChat helper utility.
chatMessagethe object which contains the message content. See [ZoomVideoSDKChatMessage].

◆ onChatPrivilegeChanged:privilege:

- (void) onChatPrivilegeChanged: (ZoomVideoSDKChatHelper *_Nullable) helper
privilege: (ZoomVideoSDKChatPrivilegeType) currentPrivilege 
optionalrequired

The chat privilege of participant has changed.

Parameters
helperChat helper utility.
currentPrivilegeThe new chat privilege. See [ZoomVideoSDKChatPrivilegeType].

◆ onCloudRecordingStatus:recordAgreementHandler:

- (void) onCloudRecordingStatus: (ZoomVideoSDKRecordingStatus) status
recordAgreementHandler: (ZoomVideoSDKRecordAgreementHandler *_Nullable) handler 
optionalrequired

Callback: Invoked when cloud recording status has started, paused, stopped, resumed, or otherwise changed.

Parameters
statusCloud recording status defined in [ZoomVideoSDKRecordingStatus].
handlercould handle the action user Accept or Decline;.

◆ onCmdChannelConnectResult:

- (void) onCmdChannelConnectResult: (BOOL) success
optionalrequired

Callback: Invoked when the command channel is ready to be used. When the SDK attempts to establish a connection for the command channel when joining a session, this callback is triggered once the connection attempt for the command channel is completed.

Parameters
successYES,command channel is ready to be used. NO, Failure, command channel was unable to connect.

◆ onCommandReceived:sendUser:

- (void) onCommandReceived: (NSString *_Nullable) commandContent
sendUser: (ZoomVideoSDKUser *_Nullable) sendUser 
optionalrequired

Callback: Invoked when receiving a message, data, or a command from the command channel. Once the command channel is active, this callback is triggered each time a message is received.

Parameters
commandContentReceived command.
sendUserThe user who sent the command.

◆ onError:detail:

- (void) onError: (ZoomVideoSDKError) ErrorType
detail: (NSInteger) details 
optionalrequired

Callback: Invoked when errors occur.

Parameters
ErrorTypeProvides error code associated with the error. See [ZoomVideoSDKError] for more information.
detailsThe detail of error message.

◆ onFailedToStartShare:user:

- (void) onFailedToStartShare: (ZoomVideoSDKShareHelper *_Nonnull) helper
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Invoked when a user failed to start sharing.

Parameters
helperThe pointer to a share helper object.
userThe pointer to a user object.

◆ onGetBroadcastControlStatus:status:

- (void) onGetBroadcastControlStatus: (BOOL) isSuccess
status: (ZoomVideoSDKBroadcastControlStatus) status 
optionalrequired

Notificates of the response that gets broadcast status.

Parameters
isSuccessYES if the request succeeded, otherwise false.
statusThe current broadcast status, See ZoomVideoSDKBroadcastControlStatus.

◆ onHostAskUnmute

- (void) onHostAskUnmute
optionalrequired

Callback: Invoked when a host requests you to unmute yourself.

◆ onInAppScreenShareAvailableChanged:

- (void) onInAppScreenShareAvailableChanged: (BOOL) available
optionalrequired

Called when the availablity of in-app screen sharing changes. Use this callback to enable or disable screen sharing controls in your UI based on current availability.

Parameters
availableAvailable or not RPScreenRecorder.

◆ onInAppScreenShareErrorCode:

- (void) onInAppScreenShareErrorCode: (RPRecordingErrorCode) code
optionalrequired

Called when in-app screen sharing session encounters an error or success.

Parameters
codeError code in RPRecordingErrorCode.

◆ onIncomingLiveStreamStatusResponse:success:streamsStatusList:

- (void) onIncomingLiveStreamStatusResponse: (ZoomVideoSDKIncomingLiveStreamHelper *_Nullable) helper
success: (BOOL) success
streamsStatusList: (NSArray< ZoomVideoSDKIncomingLiveStreamStatus * > *_Nullable) streamsStatusList 
optionalrequired

Callback event of gets the streams status.

Parameters
helperIncoming live stream helper utility.
successYES is success, otherwise NO.
streamsStatusListThe streams status list.

◆ onInviteByPhoneStatus:failReason:

- (void) onInviteByPhoneStatus: (ZoomVideoSDKPhoneStatus) status
failReason: (ZoomVideoSDKPhoneFailedReason) failReason 
optionalrequired

Callback: Invoked when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed.

Parameters
statusInvite by phone status. See [ZoomVideoSDKPhoneStatus].
failReasonInvite by phone failed reason. See [ZoomVideoSDKPhoneFailedReason].

◆ onLiveStreamStatusChanged:status:

- (void) onLiveStreamStatusChanged: (ZoomVideoSDKLiveStreamHelper *_Nullable) helper
status: (ZoomVideoSDKLiveStreamStatus) status 
optionalrequired

Callback: Invoked when a user makes changes to their live stream status.

Parameters
helperLive stream helper utility.
statusLive stream status in enumeration. See [ZoomVideoSDKLiveStreamStatus].

◆ onLiveTranscriptionMsgError:transLanguage:

- (void) onLiveTranscriptionMsgError: (ZoomVideoSDKLiveTranscriptionLanguage *_Nullable) spokenLanguage
transLanguage: (ZoomVideoSDKLiveTranscriptionLanguage *_Nullable) transcriptLanguage 
optionalrequired

Callback: Invoked when a live translation error occurs.

Parameters
spokenLanguageThe spoken message language.
transcriptLanguageThe message language you want to translate.

◆ onLiveTranscriptionMsgReceived:

- (void) onLiveTranscriptionMsgReceived: (ZoomVideoSDKLiveTranscriptionMessageInfo *_Nullable) messageInfo
optionalrequired

Callback: when a live transcription message is received.

Parameters
messageInfoThe live transcription message.

◆ onLiveTranscriptionStatus:

- (void) onLiveTranscriptionStatus: (ZoomVideoSDKLiveTranscriptionStatus) status
optionalrequired

Callback: Invoked when live transcription status changes.

Parameters
statusThe live transcription status. See [ZoomVideoSDKLiveTranscriptionStatus].

◆ onMicSpeakerVolumeChanged:speakerVolume:

- (void) onMicSpeakerVolumeChanged: (int) micVolume
speakerVolume: (int) speakerVolume 
optionalrequired

Callback: Notify the current mic or speaker volume when testing.

Parameters
micVolumeSpecify the volume of the mic when testing or in session.
speakerVolumeSpecify the volume of the speaker when testing.

◆ onMixedAudioRawDataReceived:

- (void) onMixedAudioRawDataReceived: (ZoomVideoSDKAudioRawData *_Nullable) rawData
optionalrequired

Callback: Invoked when mixed (all users) audio raw data received.

Parameters
rawDataAudio raw data. see [ZoomVideoSDKAudioRawData].

◆ onMultiCameraStreamStatusChanged:parentUser:videoCanvas:

- (void) onMultiCameraStreamStatusChanged: (ZoomVideoSDKMultiCameraStreamStatus) status
parentUser: (ZoomVideoSDKUser *_Nullable) user
videoCanvas: (ZoomVideoSDKVideoCanvas *_Nullable) videoCanvas 
optionalrequired

Callback: Invoked when someone enables/disables multi-camera. This callback is received by all participants.

Parameters
statusStatus for multipul camera user join or left. See [ZoomVideoSDKMultiCameraStreamStatus].
userThe user who enabled multi-camera. See [ZoomVideoSDKUser].
videoCanvasthe video canvas for the multi-camera. See [ZoomVideoSDKVideoCanvas].

◆ onMultiCameraStreamStatusChanged:parentUser:videoPipe:

- (void) onMultiCameraStreamStatusChanged: (ZoomVideoSDKMultiCameraStreamStatus) status
parentUser: (ZoomVideoSDKUser *_Nullable) user
videoPipe: (ZoomVideoSDKRawDataPipe *_Nullable) videoPipe 
optionalrequired

Callback: Invoked when someone in a given session enables or disables multi-camera. All participants in the session receive this callback.

Parameters
statusStatus for multipul camera user join or left. See [ZoomVideoSDKMultiCameraStreamStatus].
userThe user who enabled multi-camera. See [ZoomVideoSDKUser].
videoPipethe data pipe for the multi-camera. See [ZoomVideoSDKRawDataPipe].

◆ onMyAudioSourceTypeChanged:

- (void) onMyAudioSourceTypeChanged: (ZoomVideoSDKAudioDevice *_Nullable) device
optionalrequired

Callback invoked when the current user's audio source changes.

Parameters
deviceThe updated audio device. SeeZoomVideoSDKAudioDevice.

◆ onOneWayAudioRawDataReceived:user:

- (void) onOneWayAudioRawDataReceived: (ZoomVideoSDKAudioRawData *_Nullable) rawData
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Callback: Invoked when individual user's audio raw data received.

Parameters
rawDataRaw audio data. see [ZoomVideoSDKAudioRawData].
userSee [ZoomVideoSDKUser].

◆ onOriginalLanguageMsgReceived:

- (void) onOriginalLanguageMsgReceived: (ZoomVideoSDKLiveTranscriptionMessageInfo *_Nullable) messageInfo
optionalrequired

Callback: Original language message received callback.

Parameters
messageInfomessageInfo The spoken language message.

◆ onProxySettingNotification:

- (void) onProxySettingNotification: (ZoomVideoSDKProxySettingHandler *_Nonnull) handler
optionalrequired

The callback will be triggered if the proxy requests to input the username and password.Use the handler to configure the related information.

Parameters
handlerThe handler will be destroyed once the function calls end.

◆ onReceiveFileStatus:status:

- (void) onReceiveFileStatus: (ZoomVideoSDKReceiveFile *_Nullable) file
status: (ZoomVideoSDKFileTransferStatus) status 
optionalrequired

Invoked when send file status make change.

Parameters
fileThe class to receive file object.
statusThe stauts of file transfer.

◆ onSendFileStatus:status:

- (void) onSendFileStatus: (ZoomVideoSDKSendFile *_Nullable) file
status: (ZoomVideoSDKFileTransferStatus) status 
optionalrequired

Invoked when send file status make change.

Parameters
fileThe class to sendfile object.
statusThe stauts of file transfer.

◆ onSessionJoin

- (void) onSessionJoin
optional

Callback: Invoked when the current user joins the session.

◆ onSessionLeave

- (void) onSessionLeave
optionalrequired

Callback: Invoked when the current user leaves the session.

Deprecated
Use onSessionLeave: instead.

◆ onSessionLeave:

- (void) onSessionLeave: (ZoomVideoSDKSessionLeaveReason) reason
optionalrequired

Invoked when the current user leaves the session with reason.

Parameters
reasonLeave session reason. See [ZoomVideoSDKSessionLeaveReason] for more information.

◆ onSessionNeedPassword:

- (void) onSessionNeedPassword: (ZoomVideoSDKError(^)(NSString *_Nullable password, BOOL leaveSessionIgnorePassword)) completion
optionalrequired

Callback: Invoked when the session requires a password to join.

Parameters
completionthe block for this callback.

◆ onSessionPasswordWrong:

- (void) onSessionPasswordWrong: (ZoomVideoSDKError(^)(NSString *_Nullable password, BOOL leaveSessionIgnorePassword)) completion
optionalrequired

Callback: Invoked when the provided session password is wrong or invalid.

Parameters
completionthe block for this callback.

◆ onShareCanvasSubscribeFail:user:view:

- (void) onShareCanvasSubscribeFail: (ZoomVideoSDKSubscribeFailReason) failReason
user: (ZoomVideoSDKUser *_Nullable) user
view: (UIView *_Nullable) view 
optionalrequired

Callback event for the subscribed user's share fail reason.

Parameters
failReasonThe fail reason.
userThe pointer to the user whose view we would like to subscribe.
viewThe view that failed to subscribe.
Deprecated
use -[ZoomVideoSDKDelegate onShareCanvasSubscribeFailWithUser:view:shareAction:] instead.

◆ onShareCanvasSubscribeFailWithUser:view:shareAction:

- (void) onShareCanvasSubscribeFailWithUser: (ZoomVideoSDKUser *_Nullable) user
view: (UIView *_Nullable) view
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Callback event for the share canvas that failed to subscribe.

Parameters
userThe pointer to the user object whose view we would like to subscribe to.
viewThe view that failed to subscribe.
shareActionThe pointer to a share object.

◆ onShareCaptureSizeChanged:user:shareAction:

- (void) onShareCaptureSizeChanged: (ZoomVideoSDKShareHelper *_Nullable) shareHelper
user: (ZoomVideoSDKUser *_Nullable) user
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Called when the size of a user's share capture changes.

Parameters
shareHelperThe share helper object associated with the share.
userThe user whose share capture size has changed.
shareActionThe share action details, such as start, stop, or resize.

◆ onShareContentChanged:user:shareAction:

- (void) onShareContentChanged: (ZoomVideoSDKShareHelper *_Nullable) shareHelper
user: (ZoomVideoSDKUser *_Nullable) user
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Callback: Invoked when a user makes changes to their share content type, such as switching camera share to normal share. Find the share type in ZoomVideoSDKShareType.

Parameters
shareHelpershare helper util.
usercurrent start or stop share userInfo.
shareActionThe pointer to a share object.

◆ onShareContentSizeChanged:user:shareAction:

- (void) onShareContentSizeChanged: (ZoomVideoSDKShareHelper *_Nullable) helper
user: (ZoomVideoSDKUser *_Nullable) user
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Invoked when the share content size has changed.

Parameters
helperThe pointer to a share helper object.
userThe pointer to a user object who's share content size has changed.
shareActionThe pointer to the ZoomVideoSDKShareAction object.
Note
A share content size change may occur in two cases: when the first frame of shared content is received (from no content to having a size), or when the content size actually changes during sharing.

◆ onSharedAudioRawDataReceived:

- (void) onSharedAudioRawDataReceived: (ZoomVideoSDKAudioRawData *_Nullable) rawData
optionalrequired

Callback: Invoked when receiving shared raw audio data.

Parameters
rawDatarawData Raw audio data. See [ZoomVideoSDKAudioRawData].

◆ onShareSettingChanged:

- (void) onShareSettingChanged: (ZoomVideoSDKShareSetting) setting
optionalrequired

Notification of share setting changed.

Parameters
settingThe share setting.

◆ onSpokenLanguageChanged:

- (void) onSpokenLanguageChanged: (ZoomVideoSDKLiveTranscriptionLanguage *_Nullable) spokenLanguage
optionalrequired

Callback when the spoken language has changed.

Parameters
spokenLanguageThe spoken message language..

◆ onSpotlightVideoChanged:userList:

- (void) onSpotlightVideoChanged: (ZoomVideoSDKVideoHelper *_Nullable) videoHelper
userList: (NSArray< ZoomVideoSDKUser * > *_Nullable) userList 
optionalrequired

Callback event of spotlighted video user changes.

Parameters
videoHelperThe pointer of video helper object.
userListList of users who has been spotlighted.

◆ onSSLCertVerifiedFailNotification:

- (void) onSSLCertVerifiedFailNotification: (ZoomVideoSDKSSLCertificateInfo *_Nonnull) handler
optionalrequired

The callback will be triggered when the SSL is verified.Use the handler to check the related information.

Parameters
handlerThe handler will be destroyed once the function calls end.

◆ onStartBroadcastResponse:channelID:

- (void) onStartBroadcastResponse: (BOOL) isSuccess
channelID: (NSString *_Nonnull) channelID 
optionalrequired

Notificates of the response of broadcast streaming.

Parameters
isSuccessYES if broadcast streaming started successfully, otherwise false.
channelIDThe backend service to identify the broadcast streaming channel ID returned by the backend.

◆ onStartIncomingLiveStreamResponse:success:streamKeyID:

- (void) onStartIncomingLiveStreamResponse: (ZoomVideoSDKIncomingLiveStreamHelper *_Nullable) helper
success: (BOOL) success
streamKeyID: (NSString *_Nullable) streamKeyID 
optionalrequired

Callback event of starts the binded stream.

Parameters
helperIncoming live stream helper utility.
successYES is success, otherwise NO.
streamKeyIDCorresponding stream key ID.

◆ onStopBroadcastResponse:

- (void) onStopBroadcastResponse: (BOOL) isSuccess
optionalrequired

Notificates of the response of broadcast streaming.

Parameters
isSuccessYES if broadcast stopped successfully, otherwise false.

◆ onStopIncomingLiveStreamResponse:success:streamKeyID:

- (void) onStopIncomingLiveStreamResponse: (ZoomVideoSDKIncomingLiveStreamHelper *_Nullable) helper
success: (BOOL) success
streamKeyID: (NSString *_Nullable) streamKeyID 
optionalrequired

Callback event of stops the binded stream.

Parameters
helperIncoming live stream helper utility.
successYES is success, otherwise NO.
streamKeyIDCorresponding stream key ID.

◆ onStreamingJoinStatusChanged:

- (void) onStreamingJoinStatusChanged: (ZoomVideoSDKStreamingJoinStatus) status
optionalrequired

Notificates when the viewer's joins status changes.

Parameters
statusThe current join status, See ZoomVideoSDKStreamingJoinStatus.

◆ onSubSessionManagerHandle:

- (void) onSubSessionManagerHandle: (ZoomVideoSDKSubSessionManager *_Nullable) pManager
optionalrequired

Callback event that the user has SubSession manager privilege.

Parameters
pManagerThe SubSession manager object.

◆ onSubSessionParticipantHandle:

- (void) onSubSessionParticipantHandle: (ZoomVideoSDKSubSessionParticipant *_Nullable) pParticipant
optionalrequired

Callback event that the user has SubSession attendee privilege.

Parameters
pParticipantThe SubSession attendee object.

◆ onSubSessionStatusChanged:subSession:

- (void) onSubSessionStatusChanged: (ZoomVideoSDKSubSessionStatus) status
subSession: (NSArray< ZoomVideoSDKSubSessionKit * > *_Nonnull) pSubSessionKitList 
optionalrequired

Callback event that the SubSession status changed.

Parameters
statusThe SubSession status.
pSubSessionKitListThe new SubSession list.

◆ onSubSessionUserHelpRequestHandler:

- (void) onSubSessionUserHelpRequestHandler: (ZoomVideoSDKSubSessionUserHelpRequestHandler *_Nonnull) pHandler
optionalrequired

Callback event that the user receives the help request from SubSession.

Parameters
pHandlerThe request handler object.

◆ onSubSessionUserHelpRequestResult:

- (void) onSubSessionUserHelpRequestResult: (ZoomVideoSDKUserHelpRequestResult) result
optionalrequired

Callback event that the result of help request.

Parameters
resultThe result of help reques.

◆ onSubSessionUsersUpdate:

- (void) onSubSessionUsersUpdate: (ZoomVideoSDKSubSessionKit *_Nonnull) pSubSessionKit
optionalrequired

Callback event that the users of a SubSession has updated.

Parameters
pSubSessionKitThe SubSession kit object.

◆ onSystemPermissionRequired:

- (void) onSystemPermissionRequired: (ZoomVideoSDKSystemPermissionType) permissionType
optionalrequired

Callback: Invoked when the SDK requires system permissions to continue functioning.

Parameters
permissionTypeThe type of system permission that is required. See [ZoomVideoSDKSystemPermissionType].

◆ onTestMicStatusChanged:

- (void) onTestMicStatusChanged: (ZoomVideoSDKTestMicStatus) status
optionalrequired

Callback: Notify the mic status when testing.

Parameters
statusThe mic status. For more details, See [ZoomVideoSDKTestMicStatus].

◆ onUnbindIncomingLiveStreamResponse:success:streamKeyID:

- (void) onUnbindIncomingLiveStreamResponse: (ZoomVideoSDKIncomingLiveStreamHelper *_Nullable) helper
success: (BOOL) success
streamKeyID: (NSString *_Nullable) streamKeyID 
optionalrequired

Callback event of unbinds the incoming live stream.

Parameters
helperIncoming live stream helper utility.
successYES is success, otherwise NO.
streamKeyIDCorresponding stream key ID.

◆ onUserActiveAudioChanged:users:

- (void) onUserActiveAudioChanged: (ZoomVideoSDKUserHelper *_Nullable) helper
users: (NSArray< ZoomVideoSDKUser * > *_Nullable) userArray 
optionalrequired

Callback: Invoked when the active audio changes.

Parameters
helperAudio helper utility.
userArrayActive audio list.

◆ onUserAudioStatusChanged:user:

- (void) onUserAudioStatusChanged: (ZoomVideoSDKAudioHelper *_Nullable) helper
user: (NSArray< ZoomVideoSDKUser * > *_Nullable) userArray 
optionalrequired

Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio.

Parameters
helperAudio helper utility.
userArrayList of users who have just left the session.

◆ onUserHostChanged:users:

- (void) onUserHostChanged: (ZoomVideoSDKUserHelper *_Nullable) helper
users: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Callback: Invoked when the session host changes.

Parameters
helperUser helper utility.
userThe host userInfo.

◆ onUserJoin:users:

- (void) onUserJoin: (ZoomVideoSDKUserHelper *_Nullable) helper
users: (NSArray< ZoomVideoSDKUser * > *_Nullable) userArray 
optionalrequired

Callback: Invoked when a user joins the session.

Parameters
helperUser help utility.
userArrayList of users who have just joined the session.

◆ onUserLeave:users:

- (void) onUserLeave: (ZoomVideoSDKUserHelper *_Nullable) helper
users: (NSArray< ZoomVideoSDKUser * > *_Nullable) userArray 
optionalrequired

Callback: Invoked when a user leaves the session.

Parameters
helperUser helper utility.
userArrayList of users who have just left the session.

◆ onUserManagerChanged:

- (void) onUserManagerChanged: (ZoomVideoSDKUser *_Nullable) user
optionalrequired

Callback: Invoked when the manager of the session changes.

Parameters
userSee [ZoomVideoSDKUser].

◆ onUserNameChanged:

- (void) onUserNameChanged: (ZoomVideoSDKUser *_Nullable) user
optionalrequired

Callback: Invoked when a user changes their name.

Parameters
userSee [ZoomVideoSDKUser].

◆ onUserNetworkStatusChanged:level:user:

- (void) onUserNetworkStatusChanged: (ZoomVideoSDKDataType) type
level: (ZoomVideoSDKNetworkStatus) level
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Called when the user's share network quality changes.

Parameters
typeThe data type whose network status changed.
levelThe new network quality level for the specified data type.
userThe user whose network status has changed.

◆ onUserOverallNetworkStatusChanged:user:

- (void) onUserOverallNetworkStatusChanged: (ZoomVideoSDKNetworkStatus) level
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Callback event when a user's overall network status changes.

Parameters
levelThe new overall network quality level.
userThe user whose overall network status has changed.

◆ onUserRecordAgreementNotification:

- (void) onUserRecordAgreementNotification: (ZoomVideoSDKUser *_Nullable) user
optionalrequired

Callback: user agreement status change.

Parameters
userthe user which agree the record.

◆ onUserShareNetworkStatusChanged:isSending:

- (void) onUserShareNetworkStatusChanged: (ZoomVideoSDKNetworkStatus) shareNetworkStatus
isSending: (BOOL) isSendingShare 
optionalrequired

Notification of the current user's share network quality changes.

Parameters
shareNetworkStatusshare network quality.
isSendingShareIndicates the direction of the share. If YES, it refers to the sending share; if NO, it refers to the receiving share.
Deprecated
use onUserNetworkStatusChanged:level:user: instead.

◆ onUserShareStatusChanged:user:shareAction:

- (void) onUserShareStatusChanged: (ZoomVideoSDKShareHelper *_Nullable) helper
user: (ZoomVideoSDKUser *_Nullable) user
shareAction: (ZoomVideoSDKShareAction *_Nullable) shareAction 
optionalrequired

Invoked when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing.

Parameters
helperThe pointer to a share helper object.
userThe pointer to a user object.
shareActionThe pointer to the ZoomVideoSDKShareAction object.

◆ onUserVideoNetworkStatusChanged:user:

- (void) onUserVideoNetworkStatusChanged: (ZoomVideoSDKNetworkStatus) status
user: (ZoomVideoSDKUser *_Nullable) user 
optionalrequired

Called when a user's network status changes (Lite SDK only).

Parameters
statusThe user's network status.
userThe pointer to the user who speaks the message.
Deprecated
use onUserNetworkStatusChanged:level:user: instead.

◆ onUserVideoStatusChanged:user:

- (void) onUserVideoStatusChanged: (ZoomVideoSDKVideoHelper *_Nullable) helper
user: (NSArray< ZoomVideoSDKUser * > *_Nullable) userArray 
optionalrequired

Invoked when a user makes changes to their video, such as starting or stopping their video.

Parameters
helperVideo helper utility.
userArrayList of users who have just left the session.

◆ onUserWhiteboardShareStatusChanged:whiteboardhelper:

- (void) onUserWhiteboardShareStatusChanged: (ZoomVideoSDKUser *_Nonnull) user
whiteboardhelper: (visionos) API_UNAVAILABLE 
optionalrequired

Callback invoked when a user changes their whiteboard sharing status, such as starting or stopping whiteboard sharing.

Parameters
userThe user who's whiteboard sharing status changed. Check the current status via ZoomVideoSDKUser.
whiteboardHelperThe whiteboard helper object.

◆ onUVCCameraStatusChange:

- (void) onUVCCameraStatusChange: (ZoomVideoSDKUVCCameraStatus) status
optionalrequired

Callback is invoked when the external UVC camera status changes.

Parameters
statusUVC camera status.
Warning
Only iOS 17.0 or above and iPad device can receive this callback.

◆ onVideoAlphaChannelStatusChanged:

- (void) onVideoAlphaChannelStatusChanged: (BOOL) isAlphaChannelOn
optionalrequired

Callback event of video alpha channel mode changes.

Parameters
isAlphaChannelOnTrue means that alpha channel mode is on, otherwise off.

◆ onVideoCanvasSubscribeFail:user:view:

- (void) onVideoCanvasSubscribeFail: (ZoomVideoSDKSubscribeFailReason) failReason
user: (ZoomVideoSDKUser *_Nullable) user
view: (UIView *_Nullable) view 
optionalrequired

Callback event for the subscribed user's video fail reason.

Parameters
failReasonThe fail reason.
userThe pointer to the user whose view we would like to subscribe.
viewThe view that failed to subscribe.

◆ onWhiteboardExported:data:

- (void) onWhiteboardExported: (ZoomVideoSDKWhiteboardExportFormatType) format
data: (visionos) API_UNAVAILABLE 
optionalrequired

Callback invoked when a whiteboard file export completes.

Parameters
formatThe export format. See ZoomVideoSDKWhiteboardExportFormatType.
dataThe export whiteboard data as NSData.