|
Video SDK for iOS API Reference
|
A listener class that groups together the callbacks related to a session. More...
#include <ZoomVideoSDKDelegate.h>
Inherits <NSObject>.
Instance Methods | |
| (void) | - onSessionJoin |
| Callback event when the current user joins the session. | |
| (void) | - onSessionLeave |
| Callback event when the current user leaves the session. | |
| (void) | - onSessionLeave: |
| Callback event when the current user leaves the session with reason. | |
| (void) | - onError:detail: |
| Callback event when errors occur. | |
| (void) | - onUserJoin:users: |
| Callback event when a user joins the session. | |
| (void) | - onUserLeave:users: |
| Callback event when a user leaves the session. | |
| (void) | - onUserVideoStatusChanged:user: |
| Callback event when a user makes changes to their video, such as starting or stopping their video. | |
| (void) | - onUserAudioStatusChanged:user: |
| Callback event when a user makes changes to their audio, such as muting or unmuting their audio. | |
| (void) | - onUserShareStatusChanged:user:shareAction: |
| Callback event when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing. | |
| (void) | - onFailedToStartShare:user: |
| Callback event when a user fails to start sharing. | |
| (void) | - onShareSettingChanged: |
| Callback event when the share setting changes. | |
| (void) | - onLiveStreamStatusChanged:status: |
| Callback event when a user makes changes to their live stream status. | |
| (void) | - onChatPrivilegeChanged:privilege: |
| Callback event when the chat privilege of participant has changed. | |
| (void) | - onChatNewMessageNotify:message: |
| Callback event when receiving a chat message. | |
| (void) | - onChatMsgDeleteNotification:messageID:deleteBy: |
| Callback event when a user deletes a chat message. | |
| (void) | - onUserHostChanged:users: |
| Callback event when the session host changes. | |
| (void) | - onUserManagerChanged: |
| Callback event when the manager of the session changes. | |
| (void) | - onUserNameChanged: |
| Callback event when a user changes their name. | |
| (void) | - onUserActiveAudioChanged:users: |
| Callback event when the active audio changes. | |
| (void) | - onSessionNeedPassword: |
| Callback event when the session requires a password to join. | |
| (void) | - onSessionPasswordWrong: |
| Callback event when the provided session password is wrong or invalid. | |
| (void) | - onMixedAudioRawDataReceived: |
| Callback event when mixed (all users) audio raw data is received. | |
| (void) | - onOneWayAudioRawDataReceived:user: |
| Callback event when individual user's audio raw data is received. | |
| (void) | - onSharedAudioRawDataReceived: |
| Callback event when receiving shared raw audio data. | |
| (void) | - onInviteByPhoneStatus:failReason: |
| Callback event when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed. | |
| (void) | - onCalloutJoinSuccess:phoneNumber: |
| Callback event when the invite by phone user joined session successfully. | |
| (void) | - onCmdChannelConnectResult: |
| Callback event 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 event 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 event when the current user is granted camera control access. | |
| (void) | - onCloudRecordingStatus:recordAgreementHandler: |
| Callback event when cloud recording status has started, paused, stopped, resumed, or otherwise changed. | |
| (void) | - onUserRecordAgreementNotification: |
| Callback event when user agreement status changes. | |
| (void) | - onHostAskUnmute |
| Callback event when a host requests you to unmute yourself. | |
| (void) | - onMultiCameraStreamStatusChanged:parentUser:videoPipe: |
| Callback event when someone in a given session enables or disables multi-camera. All participants in the session receive this callback. | |
| (void) | - onMultiCameraStreamStatusChanged:parentUser:videoCanvas: |
| Callback event when someone enables or disables multi-camera. This callback is received by all participants. | |
| (void) | - onTestMicStatusChanged: |
| Callback event when the mic status changes during testing. | |
| (void) | - onMicSpeakerVolumeChanged:speakerVolume: |
| Callback event when the current mic or speaker volume changes during testing. | |
| (void) | - onAudioLevelChanged:audioSharing:user: |
| Callback event when the audio level of participants changes. | |
| (void) | - onSystemPermissionRequired: |
| Callback event when the SDK requires system permissions to continue functioning. | |
| (void) | - onLiveTranscriptionStatus: |
| Callback event when live transcription status changes. | |
| (void) | - onLiveTranscriptionMsgReceived: |
| Callback event when a live transcription message is received. | |
| (void) | - onOriginalLanguageMsgReceived: |
| Callback event when an original language message is received. | |
| (void) | - onLiveTranscriptionMsgError:transLanguage: |
| Callback event when a live translation error occurs. | |
| (void) | - onSpokenLanguageChanged: |
| Callback event when the spoken language has changed. | |
| (void) | - onProxySettingNotification: |
| Callback event when the proxy requests to input the username and password. Use the handler to configure the related information. | |
| (void) | - onSSLCertVerifiedFailNotification: |
| Callback event when the SSL is verified. Use the handler to check the related information. | |
| (void) | - onUserVideoNetworkStatusChanged:user: |
| Callback event when a user's network status changes (Lite SDK only). | |
| (void) | - onUserShareNetworkStatusChanged:isSending: |
| Callback event when the current user's share network quality changes. | |
| (void) | - onUserNetworkStatusChanged:level:user: |
| Callback event when the user's 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 event when the annotation helper is cleaned up. After this callback, SDK will release the ZoomVideoSDKAnnotationHelper as well. | |
| (void) | - onAnnotationPrivilegeChange:shareOwner: |
| Callback event when the annotation privilege changes. | |
| (void) | - onAnnotationPrivilegeChangeWithUser:shareAction: |
| Callback event when the annotation privilege changes. | |
| (void) | - onAnnotationToolTypeChanged:view:toolType: |
| Callback event when the annotation tool type changes. | |
| (void) | - onShareContentChanged:user:shareAction: |
| Callback event 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: |
| Callback event when the size of a user's share capture changes. | |
| (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: |
| Callback event when send file status changes. | |
| (void) | - onReceiveFileStatus:status: |
| Callback event when receive file status changes. | |
| (void) | - onVideoAlphaChannelStatusChanged: |
| Callback event when video alpha channel mode changes. | |
| (void) | - onSpotlightVideoChanged:userList: |
| Callback event when spotlighted video user changes. | |
| (void) | - onBindIncomingLiveStreamResponse:success:streamKeyID: |
| Callback event when binding the incoming live stream. | |
| (void) | - onUnbindIncomingLiveStreamResponse:success:streamKeyID: |
| Callback event when unbinding the incoming live stream. | |
| (void) | - onIncomingLiveStreamStatusResponse:success:streamsStatusList: |
| Callback event when getting the streams status. | |
| (void) | - onStartIncomingLiveStreamResponse:success:streamKeyID: |
| Callback event when starting the bound stream. | |
| (void) | - onStopIncomingLiveStreamResponse:success:streamKeyID: |
| Callback event when stopping the bound stream. | |
| (void) | - onShareContentSizeChanged:user:shareAction: |
| Callback event when the share content size has changed. | |
| (void) | - onUVCCameraStatusChange: |
| Callback event when the external UVC camera status changes. | |
| (void) | - onSubSessionStatusChanged:subSession: |
| Callback event when the SubSession status changes. | |
| (void) | - onSubSessionManagerHandle: |
| Callback event when the user has SubSession manager privilege. | |
| (void) | - onSubSessionParticipantHandle: |
| Callback event when the user has SubSession attendee privilege. | |
| (void) | - onSubSessionUsersUpdate: |
| Callback event when the users of a SubSession have updated. | |
| (void) | - onBroadcastMessageFromMainSession:userName: |
| Callback event when the user receives the main session broadcast message. | |
| (void) | - onSubSessionUserHelpRequestHandler: |
| Callback event when the user receives the help request from SubSession. | |
| (void) | - onSubSessionUserHelpRequestResult: |
| Callback event when the result of help request is received. | |
| (void) | - onMyAudioSourceTypeChanged: |
| Callback event when the current user's audio source changes. | |
| (void) | - onInAppScreenShareErrorCode: |
| Callback event when in-app screen sharing session encounters an error or success. | |
| (void) | - onInAppScreenShareAvailableChanged: |
| Callback event when the availability 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: |
| Callback event when the response of broadcast streaming is received. | |
| (void) | - onStopBroadcastResponse: |
| Callback event when the response of broadcast streaming is received. | |
| (void) | - onGetBroadcastControlStatus:status: |
| Callback event when the response that gets broadcast status is received. | |
| (void) | - onStreamingJoinStatusChanged: |
| Callback event when the viewer's join status changes. | |
| (void) | - onWhiteboardExported:data: |
| Callback event when a whiteboard file export completes. | |
| (void) | - onUserWhiteboardShareStatusChanged:whiteboardhelper: |
| Callback event when a user changes their whiteboard sharing status, such as starting or stopping whiteboard sharing. | |
| (void) | - onCanvasSnapshotTaken:isShare: |
| Callback invoked when a canvas snapshot is successfully taken. | |
| (void) | - onCanvasSnapshotIncompatible: |
| Callback invoked when a canvas snapshot is attempted but cannot be taken due to compatibility issues with the target user. | |
| (void) | - onRealTimeMediaStreamsStatus: |
| Callback event when the real-time media stream's status changes. | |
| (void) | - onRealTimeMediaStreamsFail: |
| Callback event when the real-time media stream failure reason is received. | |
A listener class that groups together the callbacks related to a session.
Definition at line 39 of file ZoomVideoSDKDelegate.h.
|
optionalrequired |
Callback event when the annotation helper is cleaned up. After this callback, SDK will release the ZoomVideoSDKAnnotationHelper as well.
| helper | The helper cleanup object. |
|
optionalrequired |
Callback event when the annotation privilege changes.
| enable | YES if the user is able to annotate, NO if the user is not able to annotate. |
| user | The user who changed viewer's annotation privilege. |
|
optionalrequired |
Callback event when the annotation privilege changes.
| user | The user object who changed viewer's annotation privilege. |
| shareAction | The share object. |
|
optionalrequired |
Callback event when the annotation tool type changes.
| helper | The helper cleanup object. |
| view | The view that is annotating. |
| toolType | The new annotation tool type currently selected. |
|
optionalrequired |
Callback event when the audio level of participants changes.
| level | The current audio level of the user, in the range [0, 9]. |
| bAudioSharing | YES if the audio level is from shared audio, such as computer audio, NO if it's from the microphone. |
| user | The user whose audio level has changed. |
|
optionalrequired |
Callback event when binding the incoming live stream.
| helper | The incoming live stream helper utility. |
| success | YES if success, NO otherwise. |
| streamKeyID | The corresponding stream key ID. |
|
optionalrequired |
Callback event when the user receives the main session broadcast message.
| sMessage | The message content. |
| sUserName | The name of the user who broadcast this message. |
|
optionalrequired |
Callback event of the call CRC device's status.
| state | The call out status. |
|
optionalrequired |
Callback event when the invite by phone user joined session successfully.
| user | The successfully joined user. |
| phoneNumber | The phone number of callout. |
|
optionalrequired |
Callback event when the current user is granted camera control access.
| user | The user who received the request. |
| isApproved | The result of the camera control request. |
|
optionalrequired |
Callback invoked when a canvas snapshot is attempted but cannot be taken due to compatibility issues with the target user.
| user | The target user whose snapshot could not be taken due to compatibility issues. |
|
optionalrequired |
Callback invoked when a canvas snapshot is successfully taken.
| user | The user who took the snapshot. |
| isShare | YES if the snapshot is of shared content; NO if it is of video content. |
|
optionalrequired |
Callback event when a user deletes a chat message.
| helper | The chat helper utility. |
| msgID | The deleted message's ID. |
| type | Indicates by whom the message was deleted, which is defined in [ZoomVideoSDKChatMsgDeleteBy]. |
|
optionalrequired |
Callback event when receiving a chat message.
| helper | The chat helper utility. |
| chatMessage | The object which contains the message content. |
|
optionalrequired |
Callback event when the chat privilege of participant has changed.
| helper | The chat helper utility. |
| currentPrivilege | The new chat privilege. |
|
optionalrequired |
Callback event when cloud recording status has started, paused, stopped, resumed, or otherwise changed.
| status | The cloud recording status. |
| handler | The handler that can handle the action user Accept or Decline. |
|
optionalrequired |
Callback event 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.
| success | YES if the command channel is ready to be used. NO if the command channel was unable to connect. |
|
optionalrequired |
Callback event 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.
| commandContent | The received command. |
| sendUser | The user who sent the command. |
|
optionalrequired |
Callback event when errors occur.
| ErrorType | The error code associated with the error. |
| details | The detail of error message. |
|
optionalrequired |
Callback event when a user fails to start sharing.
| helper | The share helper object. |
| user | The user object. |
|
optionalrequired |
Callback event when the response that gets broadcast status is received.
| isSuccess | YES if the request succeeded, NO otherwise. |
| status | The current broadcast status. |
|
optionalrequired |
Callback event when a host requests you to unmute yourself.
|
optionalrequired |
Callback event when the availability of in-app screen sharing changes. Use this callback to enable or disable screen sharing controls in your UI based on current availability.
| available | YES if available, NO otherwise. |
|
optionalrequired |
Callback event when in-app screen sharing session encounters an error or success.
| code | The error code. |
|
optionalrequired |
Callback event when getting the streams status.
| helper | The incoming live stream helper utility. |
| success | YES if success, NO otherwise. |
| streamsStatusList | The streams status list. |
|
optionalrequired |
Callback event when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed.
| status | The invite by phone status. |
| failReason | The invite by phone failed reason. |
|
optionalrequired |
Callback event when a user makes changes to their live stream status.
| helper | The live stream helper utility. |
| status | The live stream status. |
|
optionalrequired |
Callback event when a live translation error occurs.
| spokenLanguage | The spoken message language. |
| transcriptLanguage | The message language you want to translate. |
|
optionalrequired |
Callback event when a live transcription message is received.
| messageInfo | The live transcription message. |
|
optionalrequired |
Callback event when live transcription status changes.
| status | The live transcription status. |
|
optionalrequired |
Callback event when the current mic or speaker volume changes during testing.
| micVolume | The volume of the mic when testing or in session. |
| speakerVolume | The volume of the speaker when testing. |
|
optionalrequired |
Callback event when mixed (all users) audio raw data is received.
| rawData | The audio raw data. |
|
optionalrequired |
Callback event when someone enables or disables multi-camera. This callback is received by all participants.
| status | The status for multiple camera user join or left. |
| user | The user who enabled multi-camera. |
| videoCanvas | The video canvas for the multi-camera. |
|
optionalrequired |
Callback event when someone in a given session enables or disables multi-camera. All participants in the session receive this callback.
| status | The status for multiple camera user join or left. |
| user | The user who enabled multi-camera. |
| videoPipe | The data pipe for the multi-camera. |
|
optionalrequired |
Callback event when the current user's audio source changes.
| device | The updated audio device. |
|
optionalrequired |
Callback event when individual user's audio raw data is received.
| rawData | The raw audio data. |
| user | The user who received the audio raw data. |
|
optionalrequired |
Callback event when an original language message is received.
| messageInfo | The spoken language message. |
|
optionalrequired |
Callback event when the proxy requests to input the username and password. Use the handler to configure the related information.
| handler | The handler will be destroyed once the function calls end. |
|
optionalrequired |
Callback event when the real-time media stream failure reason is received.
| failReason | The real-time media stream failure reason. |
|
optionalrequired |
Callback event when the real-time media stream's status changes.
| status | The real-time media streams status. |
|
optionalrequired |
Callback event when receive file status changes.
| file | The receive file object. |
| status | The status of file transfer. |
|
optionalrequired |
Callback event when send file status changes.
| file | The send file object. |
| status | The status of file transfer. |
|
optional |
Callback event when the current user joins the session.
|
optionalrequired |
Callback event when the current user leaves the session.
|
optionalrequired |
Callback event when the current user leaves the session with reason.
| reason | The leave session reason. |
|
optionalrequired |
Callback event when the session requires a password to join.
| completion | The block for this callback. |
|
optionalrequired |
Callback event when the provided session password is wrong or invalid.
| completion | The block for this callback. |
|
optionalrequired |
Callback event for the subscribed user's share fail reason.
| failReason | The fail reason. |
| user | The pointer to the user whose view we would like to subscribe. |
| view | The view that failed to subscribe. |
|
optionalrequired |
Callback event for the share canvas that failed to subscribe.
| user | The pointer to the user object whose view we would like to subscribe to. |
| view | The view that failed to subscribe. |
| shareAction | The pointer to a share object. |
|
optionalrequired |
Callback event when the size of a user's share capture changes.
| shareHelper | The share helper object associated with the share. |
| user | The user whose share capture size has changed. |
| shareAction | The share action details, such as start, stop, or resize. |
|
optionalrequired |
Callback event when a user makes changes to their share content type, such as switching camera share to normal share. Find the share type in ZoomVideoSDKShareType.
| shareHelper | The share helper utility. |
| user | The current start or stop share user. |
| shareAction | The share object. |
|
optionalrequired |
Callback event when the share content size has changed.
| helper | The share helper object. |
| user | The user object whose share content size has changed. |
| shareAction | The ZoomVideoSDKShareAction object. |
|
optionalrequired |
Callback event when receiving shared raw audio data.
| rawData | The raw audio data. |
|
optionalrequired |
Callback event when the share setting changes.
| setting | The share setting. |
|
optionalrequired |
Callback event when the spoken language has changed.
| spokenLanguage | The spoken message language. |
|
optionalrequired |
Callback event when spotlighted video user changes.
| videoHelper | The video helper object. |
| userList | The list of users who have been spotlighted. |
|
optionalrequired |
Callback event when the SSL is verified. Use the handler to check the related information.
| handler | The handler will be destroyed once the function calls end. |
|
optionalrequired |
Callback event when the response of broadcast streaming is received.
| isSuccess | YES if broadcast streaming started successfully, NO otherwise. |
| channelID | The backend service to identify the broadcast streaming channel ID returned by the backend. |
|
optionalrequired |
Callback event when starting the bound stream.
| helper | The incoming live stream helper utility. |
| success | YES if success, NO otherwise. |
| streamKeyID | The corresponding stream key ID. |
|
optionalrequired |
Callback event when the response of broadcast streaming is received.
| isSuccess | YES if broadcast stopped successfully, NO otherwise. |
|
optionalrequired |
Callback event when stopping the bound stream.
| helper | The incoming live stream helper utility. |
| success | YES if success, NO otherwise. |
| streamKeyID | The corresponding stream key ID. |
|
optionalrequired |
Callback event when the viewer's join status changes.
| status | The current join status. |
|
optionalrequired |
Callback event when the user has SubSession manager privilege.
| pManager | The SubSession manager object. |
|
optionalrequired |
Callback event when the user has SubSession attendee privilege.
| pParticipant | The SubSession attendee object. |
|
optionalrequired |
Callback event when the SubSession status changes.
| status | The SubSession status. |
| pSubSessionKitList | The new SubSession list. |
|
optionalrequired |
Callback event when the user receives the help request from SubSession.
| pHandler | The request handler object. |
|
optionalrequired |
Callback event when the result of help request is received.
| result | The result of help request. |
|
optionalrequired |
Callback event when the users of a SubSession have updated.
| pSubSessionKit | The SubSession kit object. |
|
optionalrequired |
Callback event when the SDK requires system permissions to continue functioning.
| permissionType | The type of system permission that is required. |
|
optionalrequired |
Callback event when the mic status changes during testing.
| status | The mic status. |
|
optionalrequired |
Callback event when unbinding the incoming live stream.
| helper | The incoming live stream helper utility. |
| success | YES if success, NO otherwise. |
| streamKeyID | The corresponding stream key ID. |
|
optionalrequired |
Callback event when the active audio changes.
| helper | The audio helper utility. |
| userArray | The active audio list. |
|
optionalrequired |
Callback event when a user makes changes to their audio, such as muting or unmuting their audio.
| helper | The audio helper utility. |
| userArray | The list of users whose audio status has changed. |
|
optionalrequired |
Callback event when the session host changes.
| helper | The user helper utility. |
| user | The host user. |
|
optionalrequired |
Callback event when a user joins the session.
| helper | The user helper utility. |
| userArray | The list of users who have just joined the session. |
|
optionalrequired |
Callback event when a user leaves the session.
| helper | The user helper utility. |
| userArray | The list of users who have just left the session. |
|
optionalrequired |
Callback event when the manager of the session changes.
| user | The manager user. |
|
optionalrequired |
Callback event when a user changes their name.
| user | The user who changed their name. |
|
optionalrequired |
Callback event when the user's network quality changes.
| type | The data type whose network status changed. |
| level | The new network quality level for the specified data type. |
| user | The user whose network status has changed. |
|
optionalrequired |
Callback event when a user's overall network status changes.
| level | The new overall network quality level. |
| user | The user whose overall network status has changed. |
|
optionalrequired |
Callback event when user agreement status changes.
| user | The user which agreed to the record. |
|
optionalrequired |
Callback event when the current user's share network quality changes.
| shareNetworkStatus | The share network quality. |
| isSendingShare | YES if it refers to the sending share, NO if it refers to the receiving share. |
|
optionalrequired |
Callback event when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing.
| helper | The share helper object. |
| user | The user object. |
| shareAction | The ZoomVideoSDKShareAction object. |
|
optionalrequired |
Callback event when a user's network status changes (Lite SDK only).
| status | The user's network status. |
| user | The user whose network status has changed. |
|
optionalrequired |
Callback event when a user makes changes to their video, such as starting or stopping their video.
| helper | The video helper utility. |
| userArray | The list of users whose video status has changed. |
|
optionalrequired |
Callback event when a user changes their whiteboard sharing status, such as starting or stopping whiteboard sharing.
| user | The user whose whiteboard sharing status changed. |
| whiteboardHelper | The whiteboard helper object. |
|
optionalrequired |
Callback event when the external UVC camera status changes.
| status | The UVC camera status. |
|
optionalrequired |
Callback event when video alpha channel mode changes.
| isAlphaChannelOn | YES if alpha channel mode is on, NO otherwise. |
|
optionalrequired |
Callback event for the subscribed user's video fail reason.
| failReason | The fail reason. |
| user | The pointer to the user whose view we would like to subscribe. |
| view | The view that failed to subscribe. |
|
optionalrequired |
Callback event when a whiteboard file export completes.
| format | The export format. |
| data | The export whiteboard data as NSData. |