Unity Video SDK API Reference Documentation
|
A listener class that groups together the callbacks related to a session. See ZoomVideoSDK#addListener(ZoomVideoSDKDelegate)
.
More...
Public Member Functions | |
void | onSessionJoin (ZMVideoSDKUser myself) |
Callback: Invoked when the current user joins the session. | |
void | onSessionLeave () |
Callback: Invoked when the current user leaves the session. | |
void | onError (ZMVideoSDKErrors errorType, int details) |
Callback: Invoked when errors occur. | |
void | onUserJoin (ZMVideoSDKUserHelper userHelper, List< ZMVideoSDKUser > userArray) |
Callback: Invoked when a user joins the session. | |
void | onUserLeave (ZMVideoSDKUserHelper userHelper, List< ZMVideoSDKUser > userArray) |
Triggered when other users leave session. | |
void | onUserVideoStatusChanged (ZMVideoSDKVideoHelper videoHelper, List< ZMVideoSDKUser > userArray) |
Callback: Invoked when a user makes changes to their video, such as starting or stopping their video. | |
void | onUserAudioStatusChanged (ZMVideoSDKAudioHelper audioHelper, List< ZMVideoSDKUser > userArray) |
Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio. | |
void | onUserHostChanged (ZMVideoSDKUserHelper userHelper, ZMVideoSDKUser user) |
Callback: Invoked when the session host changes. | |
void | onUserActiveAudioChanged (ZMVideoSDKAudioHelper audioHelper, List< ZMVideoSDKUser > userArray) |
Callback: Invoked when the active audio changes. | |
void | onUserManagerChanged (ZMVideoSDKUser user) |
Callback: Invoked when the manager of the session changes. | |
void | onUserNameChanged (ZMVideoSDKUser user) |
Callback: Invoked when a user changes their name. | |
void | onHostAskUnmute () |
Callback: Invoked when a host requests you to unmute yourself. | |
void | onMicSpeakerVolumeChanged (uint micVolume, uint speakerVolume) |
Notify the current mic or speaker volume when testing. | |
void | onSelectedAudioDeviceChanged () |
Notify the user that a mic/speaker device is selected when testing. Then the SDK will close the mic/speaker testing. The user shall restart the test manually if he still wants to test. | |
void | onMixedAudioRawDataReceived (ZMVideoSDKAudioRawData audioRawData) |
Callback: Invoked when mixed (all users) audio raw data received. | |
void | onOneWayAudioRawDataReceived (ZMVideoSDKAudioRawData audioRawData, ZMVideoSDKUser user) |
Callback: Invoked when individual user's audio raw data received. | |
void | onChatNewMessageNotify (ZMVideoSDKChatHelper chatHelper, ZMVideoSDKChatMessage messageItem) |
Callback: Invoked when receiving a chat message. | |
void | onChatDeleteMessageNotify (ZMVideoSDKChatHelper chatHelper, string msgID, ZMVideoSDKChatMessageDeleteType deleteBy) |
Callback: Invoked when a user deletes a chat message. | |
void | onCloudRecordingStatusChanged (ZMVideoSDKRecordingStatus status, ZMVideoSDKRecordingConsentHandler handler) |
void | onUserRecordingConsentChanged (ZMVideoSDKUser user) |
void | onUserShareStatusChanged (ZMVideoSDKShareHelper shareHelper, ZMVideoSDKUser user, ZMVideoSDKShareStatus status) |
Callback: Invoked when a user's share status changes. | |
A listener class that groups together the callbacks related to a session. See ZoomVideoSDK#addListener(ZoomVideoSDKDelegate)
.
Definition at line 7 of file IZMVideoSDKDelegate.cs.
void IZMVideoSDKDelegate.onChatDeleteMessageNotify | ( | ZMVideoSDKChatHelper | chatHelper, |
string | msgID, | ||
ZMVideoSDKChatMessageDeleteType | deleteBy | ||
) |
Callback: Invoked when a user deletes a chat message.
chatHelper | Chat helper utility. |
msgID | The deleted message's ID. |
deleteBy | Indicates by whom the message was deleted, which is defined in ZMVideoSDKChatMessageDeleteType . |
void IZMVideoSDKDelegate.onChatNewMessageNotify | ( | ZMVideoSDKChatHelper | chatHelper, |
ZMVideoSDKChatMessage | messageItem | ||
) |
Callback: Invoked when receiving a chat message.
chatHelper | chat helper util |
messageItem | ZMVideoSDKChatMessage |
void IZMVideoSDKDelegate.onCloudRecordingStatusChanged | ( | ZMVideoSDKRecordingStatus | status, |
ZMVideoSDKRecordingConsentHandler | handler | ||
) |
Callback: Invoked when cloud recording status has paused, stopped, resumed, or otherwise changed.
status | Cloud recording status defined in ZMVideoSDKRecordingStatus . |
handler | When the cloud recording starts, this object is used to let the user choose whether to accept or not. |
void IZMVideoSDKDelegate.onError | ( | ZMVideoSDKErrors | errorType, |
int | details | ||
) |
Callback: Invoked when errors occur.
errorType | Provides error code associated with the error. See ZMVideoSDKErrors for more information. |
details | Detailed errorCode. |
void IZMVideoSDKDelegate.onHostAskUnmute | ( | ) |
Callback: Invoked when a host requests you to unmute yourself.
void IZMVideoSDKDelegate.onMicSpeakerVolumeChanged | ( | uint | micVolume, |
uint | speakerVolume | ||
) |
Notify the current mic or speaker volume when testing.
micVolume | Specify the volume of the mic. |
speakerVolume | Specify the volume of the speaker. |
void IZMVideoSDKDelegate.onMixedAudioRawDataReceived | ( | ZMVideoSDKAudioRawData | audioRawData | ) |
Callback: Invoked when mixed (all users) audio raw data received.
audioRawData | The Raw audio data object. |
void IZMVideoSDKDelegate.onOneWayAudioRawDataReceived | ( | ZMVideoSDKAudioRawData | audioRawData, |
ZMVideoSDKUser | user | ||
) |
Callback: Invoked when individual user's audio raw data received.
audioRawData | The Raw audio data object. |
user | The user object associated with the raw audio data. |
void IZMVideoSDKDelegate.onSelectedAudioDeviceChanged | ( | ) |
Notify the user that a mic/speaker device is selected when testing. Then the SDK will close the mic/speaker testing. The user shall restart the test manually if he still wants to test.
void IZMVideoSDKDelegate.onSessionJoin | ( | ZMVideoSDKUser | myself | ) |
Callback: Invoked when the current user joins the session.
void IZMVideoSDKDelegate.onSessionLeave | ( | ) |
Callback: Invoked when the current user leaves the session.
void IZMVideoSDKDelegate.onUserActiveAudioChanged | ( | ZMVideoSDKAudioHelper | audioHelper, |
List< ZMVideoSDKUser > | userArray | ||
) |
Callback: Invoked when the active audio changes.
audioHelper | The pointer of audio helper object. |
userArray | Active audio list. |
void IZMVideoSDKDelegate.onUserAudioStatusChanged | ( | ZMVideoSDKAudioHelper | audioHelper, |
List< ZMVideoSDKUser > | userArray | ||
) |
Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio.
audioHelper | The pointer of audio helper object. |
userArray | The array contain user objoct. |
void IZMVideoSDKDelegate.onUserHostChanged | ( | ZMVideoSDKUserHelper | userHelper, |
ZMVideoSDKUser | user | ||
) |
Callback: Invoked when the session host changes.
userHelper | The pointer of user helper object. |
user | The pointer of user object. |
void IZMVideoSDKDelegate.onUserJoin | ( | ZMVideoSDKUserHelper | userHelper, |
List< ZMVideoSDKUser > | userArray | ||
) |
Callback: Invoked when a user joins the session.
userHelper | User help utility. |
userArray | List of users who have just joined the session. |
void IZMVideoSDKDelegate.onUserLeave | ( | ZMVideoSDKUserHelper | userHelper, |
List< ZMVideoSDKUser > | userArray | ||
) |
Triggered when other users leave session.
userHelper | The pointer of user helper object. |
userArray | An array contains the users leaved. |
void IZMVideoSDKDelegate.onUserManagerChanged | ( | ZMVideoSDKUser | user | ) |
Callback: Invoked when the manager of the session changes.
user | The pointer of user object. |
void IZMVideoSDKDelegate.onUserNameChanged | ( | ZMVideoSDKUser | user | ) |
Callback: Invoked when a user changes their name.
user | The pointer of user object. |
void IZMVideoSDKDelegate.onUserRecordingConsentChanged | ( | ZMVideoSDKUser | user | ) |
Invoked when a user consent to individual recording.
user | ZMVideoSDKUser |
void IZMVideoSDKDelegate.onUserShareStatusChanged | ( | ZMVideoSDKShareHelper | shareHelper, |
ZMVideoSDKUser | user, | ||
ZMVideoSDKShareStatus | status | ||
) |
Callback: Invoked when a user's share status changes.
shareHelper | Share helper utility. |
user | The user object. |
status | Indicates the current share status, which is defined in ZMVideoSDKShareStatus . |
void IZMVideoSDKDelegate.onUserVideoStatusChanged | ( | ZMVideoSDKVideoHelper | videoHelper, |
List< ZMVideoSDKUser > | userArray | ||
) |
Callback: Invoked when a user makes changes to their video, such as starting or stopping their video.
videoHelper | The pointer of video helper object. |
userArray | The array contain user objoct. |