Talkback controller callback event.
More...
#include <meeting_talkback_ctrl_interface.h>
Talkback controller callback event.
Definition at line 37 of file meeting_talkback_ctrl_interface.h.
◆ TalkbackError
Talkback error enum.
| Enumerator |
|---|
| TALKBACK_ERROR_OK | Operation executed successfully.
|
| TALKBACK_ERROR_NOPERMISSION | Permission denied.
|
| TALKBACK_ERROR_ALREADY_EXIST | The object being operated on already exists, Example: the invited user is already in the channel.
|
| TALKBACK_ERROR_COUNT_OVERFLOW | The number of channels exceeded the limit.
|
| TALKBACK_ERROR_NOT_EXIST | The object being operated on does not exist.
|
| TALKBACK_ERROR_REJECTED | Operation denied.
|
| TALKBACK_ERROR_TIMEOUT | Operation timed out.
|
| TALKBACK_ERROR_UNKNOWN | Unknown reason.
|
Definition at line 45 of file meeting_talkback_ctrl_interface.h.
46 {
63 };
@ TALKBACK_ERROR_ALREADY_EXIST
@ TALKBACK_ERROR_NOPERMISSION
@ TALKBACK_ERROR_NOT_EXIST
@ TALKBACK_ERROR_COUNT_OVERFLOW
@ TALKBACK_ERROR_REJECTED
◆ ~IMeetingTalkbackCtrlEvent()
| virtual IMeetingTalkbackCtrlEvent::~IMeetingTalkbackCtrlEvent |
( |
| ) |
|
|
inlinevirtual |
◆ onChannelUserJoinResponse()
| virtual void IMeetingTalkbackCtrlEvent::onChannelUserJoinResponse |
( |
const zchar_t * | channelID, |
|
|
unsigned int | userID, |
|
|
TalkbackError | error ) |
|
pure virtual |
Callback event for user joined channel response.
- Parameters
-
| channelID | Specify the channel ID. |
| userID | Specify the user ID who joined the channel. |
| error | Specify the error code. |
- Note
- Determine whether the user is successfully invited. Batch inviting users is asynchronous, so check this callback to verify the invitation result.
◆ onChannelUserLeaveResponse()
| virtual void IMeetingTalkbackCtrlEvent::onChannelUserLeaveResponse |
( |
const zchar_t * | channelID, |
|
|
unsigned int | userID, |
|
|
TalkbackError | error ) |
|
pure virtual |
Callback event for user left channel response.
- Parameters
-
| channelID | Specify the channel ID. |
| userID | Specify the user ID who left the channel. |
| error | Specify the error code. |
- Note
- Determine whether the user is successfully removed. Batch removing users from channel is asynchronous, so check this callback to verify the removal result.
◆ onCreateChannelResponse()
| virtual void IMeetingTalkbackCtrlEvent::onCreateChannelResponse |
( |
const zchar_t * | channelID, |
|
|
TalkbackError | error ) |
|
pure virtual |
Callback event for create channel response.
- Parameters
-
| channelID | Specify the channel ID. |
| error | Specify the error code. |
- Note
- Determine whether the channel is successfully created. CreateChannel is asynchronous, so check this callback to verify the creation result.
◆ onDestroyChannelResponse()
| virtual void IMeetingTalkbackCtrlEvent::onDestroyChannelResponse |
( |
const zchar_t * | channelID, |
|
|
TalkbackError | error ) |
|
pure virtual |
Callback event for destroy channel response.
- Parameters
-
| channelID | Specify the channel ID. |
| error | Specify the error code. |
- Note
- Determine whether the channel is successfully destroyed. Batch destroy channels is asynchronous, so check this callback to verify the destruction result.
◆ onInviterAudioLevel()
| virtual void IMeetingTalkbackCtrlEvent::onInviterAudioLevel |
( |
unsigned int | inviterID, |
|
|
unsigned int | audioLevel ) |
|
pure virtual |
Callback event for inviter audio level in talkback channel.
- Parameters
-
| inviterID | Specify the inviter user ID. |
| audioLevel | Inviter audio volume, range 0-15. |
◆ onJoinTalkbackChannel()
| virtual void IMeetingTalkbackCtrlEvent::onJoinTalkbackChannel |
( |
unsigned int | inviterID | ) |
|
|
pure virtual |
Callback event for already joined talkback channel.
- Parameters
-
| inviterID | Specify the inviter user ID who invited to join the channel. |
- Note
- This event notifies you that you have already entered the talkback channel, and the inviter ID is inviterID.
◆ onLeaveTalkbackChannel()
| virtual void IMeetingTalkbackCtrlEvent::onLeaveTalkbackChannel |
( |
unsigned int | inviterID | ) |
|
|
pure virtual |
Callback event for already left talkback channel.
- Parameters
-
| inviterID | Specify the inviter user ID who invited to leave the channel. |
- Note
- This event notifies you that you have left the talkback channel.