public interface InMeetingServiceListener
extends us.zoom.androidlib.util.IListener
Modifier and Type | Interface and Description |
---|---|
static class |
InMeetingServiceListener.AudioStatus |
static class |
InMeetingServiceListener.VideoStatus |
Modifier and Type | Method and Description |
---|---|
void |
onActiveSpeakerVideoUserChanged(long userId)
Sink the event that the speaker of the active user changes.
|
void |
onActiveVideoUserChanged(long userId)
Sink the event that the video of the active user changes.
|
void |
onChatMessageReceived(InMeetingChatMessage msg)
Sink the event that a new chat message is received.
|
void |
onFreeMeetingNeedToUpgrade(FreeMeetingNeedUpgradeType type,
java.lang.String giftUrl)
The callback of upgrading the free meeting.
|
void |
onFreeMeetingReminder(boolean isHost,
boolean canUpgrade,
boolean isFirstGift)
Inform user that free meeting will be ended in 10 minutes.
|
void |
onFreeMeetingUpgradeToGiftFreeTrialStart()
Callback function of starting to upgrade the free meeting by the gift link.
|
void |
onFreeMeetingUpgradeToGiftFreeTrialStop()
Callback function of ending upgrade the free meeting by the gift link.
|
void |
onFreeMeetingUpgradeToProMeeting()
Callback function of free meting upgrades successfully.
|
void |
onHostAskStartVideo(long userId)
Sink the event that host ask unmute user's video.
|
void |
onHostAskUnMute(long userId)
Sink the event that host ask unmute user's audio.
|
void |
onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler handler)
The function will be invoked when a user joins a webinar that needs username and email.
|
void |
onLowOrRaiseHandStatusChanged(long userId,
boolean isRaiseHand)
Sink the event that the hand status changes.
|
void |
onMeetingActiveVideo(long userId)
Sink the event that Active video user changed .
|
void |
onMeetingCoHostChanged(long userId)
Sink the event that meeting co-host changes.
|
void |
onMeetingFail(int errorCode,
int internalErrorCode)
Sink the event of meeting starts failed or user joins meeting failed
|
void |
onMeetingHostChanged(long userId)
Sink the event that the host of meeting changes.
|
void |
onMeetingLeaveComplete(long ret)
Sink the event that user has left meeting.
|
void |
onMeetingNeedColseOtherMeeting(InMeetingEventHandler handler)
Sink the event that it is needed to close another ongoing meeting.
|
void |
onMeetingNeedPasswordOrDisplayName(boolean needPassword,
boolean needDisplayName,
InMeetingEventHandler handler)
Sink the event if the meeting needs a password or a screen name.
|
void |
onMeetingSecureKeyNotification(byte[] key)
Sink the event that meeting needs session key.
|
void |
onMeetingUserJoin(java.util.List<java.lang.Long> userList)
Sink the event of a new user joins the meeting.
|
void |
onMeetingUserLeave(java.util.List<java.lang.Long> userList)
Sink the event that user leaves the meeting.
|
void |
onMeetingUserUpdated(long userId)
Sink the event that user's information in the meeting is upgraded.
|
void |
onMicrophoneStatusError(InMeetingAudioController.MobileRTCMicrophoneError error)
Sink the event of user's microphone errors.
|
void |
onMyAudioSourceTypeChanged(int type)
Sink the event that the output type of the current user's audio source changes.
|
void |
onSilentModeChanged(boolean inSilentMode)
user silent mode change callback
|
void |
onSinkAllowAttendeeChatNotification(int privilege)
The function will be invoked when the chat privilege of attendees changes.
|
void |
onSinkAttendeeChatPriviledgeChanged(int privilege)
The function will be invoked when the chat privilege of attendees changes.
|
void |
onSpotlightVideoChanged(boolean on)
Sink the event that the user video spotlight status changes.
|
void |
onUserAudioStatusChanged(long userId)
Deprecated.
replace with
onUserAudioStatusChanged(long) |
void |
onUserAudioStatusChanged(long userId,
InMeetingServiceListener.AudioStatus audioStatus)
Sink the event that user's audio status changes.
|
void |
onUserAudioTypeChanged(long userId)
Sink the event that user's audio type changes.
|
void |
onUserNameChanged(long userId,
java.lang.String name)
Sink the event that user name changed .
|
void |
onUserNetworkQualityChanged(long userId)
Sink the event that user's network quality changes.
|
void |
onUserVideoStatusChanged(long userId)
Deprecated.
replace with
onUserVideoStatusChanged(long, VideoStatus) |
void |
onUserVideoStatusChanged(long userId,
InMeetingServiceListener.VideoStatus status)
Sink the event that user's video status changes.
|
void |
onWebinarNeedRegister()
During the webinar, this callback event will be triggered if the user needs to register.
|
void onMeetingNeedPasswordOrDisplayName(boolean needPassword, boolean needDisplayName, InMeetingEventHandler handler)
needPassword
- TRUE means that the password is needed. FALSE not.needDisplayName
- TRUE means that the screen name is needed. FALSE not.handler
- This handler provides an interface to set password and name. The interface will be called once the user received the callback event.void onWebinarNeedRegister()
void onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler handler)
handler
- Configure information or leave meeting via InMeetingEventHandler.setRegisterWebinarInfo(String, String, boolean)
.void onMeetingNeedColseOtherMeeting(InMeetingEventHandler handler)
handler
- End the meeting via InMeetingEventHandler.endOtherMeeting()
.void onMeetingFail(int errorCode, int internalErrorCode)
errorCode
- Meeting errors.MeetingError
internalErrorCode
- Internal error code.void onMeetingLeaveComplete(long ret)
ret
- Reasons for leaving meeting defined in MeetingEndReason
.void onMeetingUserJoin(java.util.List<java.lang.Long> userList)
userList
- The list of user ID.void onMeetingUserLeave(java.util.List<java.lang.Long> userList)
userList
- The list of user ID.void onMeetingUserUpdated(long userId)
userId
- User ID.void onMeetingHostChanged(long userId)
userId
- The ID of user to be the host.void onMeetingCoHostChanged(long userId)
userId
- The ID of user to be co-host.void onActiveVideoUserChanged(long userId)
userId
- The ID of active user.void onActiveSpeakerVideoUserChanged(long userId)
userId
- The ID of active user.void onSpotlightVideoChanged(boolean on)
on
- TRUE means that spotlight mode is on, otherwise not.void onUserVideoStatusChanged(long userId)
onUserVideoStatusChanged(long, VideoStatus)
userId
- The user ID.void onUserVideoStatusChanged(long userId, InMeetingServiceListener.VideoStatus status)
userId
- The user ID.status
- current status.void onUserNetworkQualityChanged(long userId)
userId
- The user ID.void onMicrophoneStatusError(InMeetingAudioController.MobileRTCMicrophoneError error)
error
- Error types defined in InMeetingAudioController.MobileRTCMicrophoneError
.void onUserAudioStatusChanged(long userId)
onUserAudioStatusChanged(long)
userId
- The user ID.void onUserAudioStatusChanged(long userId, InMeetingServiceListener.AudioStatus audioStatus)
userId
- The user ID.audioStatus
- InMeetingServiceListener.AudioStatus
void onHostAskUnMute(long userId)
userId
- The user ID.void onHostAskStartVideo(long userId)
userId
- The user ID.void onUserAudioTypeChanged(long userId)
userId
- The user ID.void onMyAudioSourceTypeChanged(int type)
type
- Audio types defined in AudioSourceType
.void onLowOrRaiseHandStatusChanged(long userId, boolean isRaiseHand)
userId
- The user ID.isRaiseHand
- TRUE means raising hands. FALSE put hands down.void onMeetingSecureKeyNotification(byte[] key)
key
- The key currently in use.void onChatMessageReceived(InMeetingChatMessage msg)
msg
- The message object.void onSilentModeChanged(boolean inSilentMode)
inSilentMode
- True is in silent modevoid onFreeMeetingReminder(boolean isHost, boolean canUpgrade, boolean isFirstGift)
isHost
- True means the original host of the current meeting, otherwise not.canUpgrade
- True means the current meeting can be upgraded.isFirstGift
- True means we will upgrade this free meeting automatically.void onMeetingActiveVideo(long userId)
userId
- The user ID.void onSinkAttendeeChatPriviledgeChanged(int privilege)
privilege
- current privilege The chat privilege of the current attendee.void onSinkAllowAttendeeChatNotification(int privilege)
privilege
- current privilege The chat privilege of the current attendee.void onUserNameChanged(long userId, java.lang.String name)
userId
- The user ID.name
- The new namevoid onFreeMeetingNeedToUpgrade(FreeMeetingNeedUpgradeType type, java.lang.String giftUrl)
type
- Type of upgrading the free meeting,FreeMeetingNeedUpgradeType
giftUrl
- Upgrade the free meeting by the gift link. When and only when the value of type_ is FreeMeetingNeedUpgradeType_BY_GIFTURL, this parameter is meaningfulvoid onFreeMeetingUpgradeToGiftFreeTrialStart()
void onFreeMeetingUpgradeToGiftFreeTrialStop()
void onFreeMeetingUpgradeToProMeeting()