Package us.zoom.sdk
Interface InMeetingChatController
-
public interface InMeetingChatController
Chat controller in meeting.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InMeetingChatController.MobileRTCChatGroup
Chat group in meeting.static class
InMeetingChatController.MobileRTCMeetingChatPriviledge
An enumeration of meeting chat priviledge typesstatic class
InMeetingChatController.MobileRTCWebinarChatPriviledge
An enumeration of webinar chat priviledge typesstatic class
InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege
Enumerations of the panelist chat privilege.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allowAttendeeChat(InMeetingChatController.MobileRTCWebinarChatPriviledge priviledge)
Only webinar host/co-host can run the functionboolean
changeAttendeeChatPriviledge(InMeetingChatController.MobileRTCMeetingChatPriviledge priviledge)
Only meeting host/co-host can run the functionMobileRTCSDKError
deleteChatMessage(java.lang.String msgId)
Delete chat message by message id.java.util.List<java.lang.String>
getAllChatMessageID()
Get all chat message id.java.lang.String
getChatLegalNoticesExplained()
Return explained text for chat legal noticejava.lang.String
getChatLegalNoticesPrompt()
Return chat legal notice promptInMeetingChatMessage
getChatMessageById(java.lang.String msgID)
Get chat message by message ID.InMeetingChatController.MobileRTCMeetingChatPriviledge
getMeetingAttendeeChatPrivilege()
Get the chat privilege of the meeting participant.InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege
getPanelistChatPrivilege()
Get the chat privilege of the panelist.java.lang.String
getShareMeetingChatStartedLegalNoticeContent()
Return meeting chat legal notice content when start to share meeting chatjava.lang.String
getShareMeetingChatStoppedLegalNoticeContent()
Return meeting chat legal notice content when stop to share meeting chatInMeetingChatController.MobileRTCWebinarChatPriviledge
getWebinarAttendeeChatPrivilege()
Get the chat privilege of the webinar attendee.boolean
isChatDisabled()
Query if it is disabled to chat in the current meeting.boolean
isChatMessageCanBeDeleted(java.lang.String msgId)
Determine whether the message can be delete.boolean
isMeetingChatLegalNoticeAvailable()
Whether chat legal notice is availableboolean
isPrivateChatDisabled()
Query if meeting participants can send private 1:1 message to another participant.boolean
isShareMeetingChatLegalNoticeAvailable()
Whether meeting chat legal notice is availableMobileRTCSDKError
sendChatMsgTo(InMeetingChatMessage msg)
Send a chat message.MobileRTCSDKError
setPanelistChatPrivilege(InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege privilege)
Set the chat privilege of the panelist.
-
-
-
Method Detail
-
isChatDisabled
boolean isChatDisabled()
Query if it is disabled to chat in the current meeting.- Returns:
- TRUE means that the chat in current meeting is disabled.
-
isPrivateChatDisabled
boolean isPrivateChatDisabled()
Query if meeting participants can send private 1:1 message to another participant.- Returns:
- TRUE means that the private chat in current meeting is disabled.
-
getChatMessageById
InMeetingChatMessage getChatMessageById(java.lang.String msgID)
Get chat message by message ID.- Parameters:
msgID
- the message ID.
-
sendChatMsgTo
MobileRTCSDKError sendChatMsgTo(InMeetingChatMessage msg)
Send a chat message.- Parameters:
msg
- the message info.
-
allowAttendeeChat
boolean allowAttendeeChat(InMeetingChatController.MobileRTCWebinarChatPriviledge priviledge)
Only webinar host/co-host can run the function- Parameters:
priviledge
- The priviledge will be setted.- Returns:
- success or not
-
changeAttendeeChatPriviledge
boolean changeAttendeeChatPriviledge(InMeetingChatController.MobileRTCMeetingChatPriviledge priviledge)
Only meeting host/co-host can run the function- Parameters:
priviledge
- The priviledge will be setted.- Returns:
- success or not
-
setPanelistChatPrivilege
MobileRTCSDKError setPanelistChatPrivilege(InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege privilege)
Set the chat privilege of the panelist.- Parameters:
privilege
- The chat privilege of the panelist. seeInMeetingChatController.MobileRTCWebinarPanelistChatPrivilege
- Returns:
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see
MobileRTCSDKError
.
-
getPanelistChatPrivilege
InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege getPanelistChatPrivilege()
Get the chat privilege of the panelist.- Returns:
- The chat privilege of the panelist. see
InMeetingChatController.MobileRTCWebinarPanelistChatPrivilege
-
getWebinarAttendeeChatPrivilege
InMeetingChatController.MobileRTCWebinarChatPriviledge getWebinarAttendeeChatPrivilege()
Get the chat privilege of the webinar attendee.- Returns:
- The chat privilege of the webinar attendee. see
InMeetingChatController.MobileRTCWebinarChatPriviledge
-
getMeetingAttendeeChatPrivilege
InMeetingChatController.MobileRTCMeetingChatPriviledge getMeetingAttendeeChatPrivilege()
Get the chat privilege of the meeting participant.- Returns:
- The chat privilege of the meeting participant. see
InMeetingChatController.MobileRTCMeetingChatPriviledge
-
isMeetingChatLegalNoticeAvailable
boolean isMeetingChatLegalNoticeAvailable()
Whether chat legal notice is available- Returns:
- True if chat legal notice is available
-
getChatLegalNoticesPrompt
java.lang.String getChatLegalNoticesPrompt()
Return chat legal notice prompt- Returns:
- notice prompt
-
getChatLegalNoticesExplained
java.lang.String getChatLegalNoticesExplained()
Return explained text for chat legal notice- Returns:
- explained text for notice
-
deleteChatMessage
MobileRTCSDKError deleteChatMessage(java.lang.String msgId)
Delete chat message by message id.- Parameters:
msgId
- the message id.- Returns:
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed, returns calling error. For more details, see
MobileRTCSDKError
.
-
getAllChatMessageID
java.util.List<java.lang.String> getAllChatMessageID()
Get all chat message id.- Returns:
- the all chat message id list. null means failed.
-
isChatMessageCanBeDeleted
boolean isChatMessageCanBeDeleted(java.lang.String msgId)
Determine whether the message can be delete.- Parameters:
msgId
- the message id.- Returns:
- True indicates the message can be delete. Otherwise False.
-
isShareMeetingChatLegalNoticeAvailable
boolean isShareMeetingChatLegalNoticeAvailable()
Whether meeting chat legal notice is available- Returns:
- True if meeting chat legal notice is available
-
getShareMeetingChatStartedLegalNoticeContent
java.lang.String getShareMeetingChatStartedLegalNoticeContent()
Return meeting chat legal notice content when start to share meeting chat- Returns:
- notice content
-
getShareMeetingChatStoppedLegalNoticeContent
java.lang.String getShareMeetingChatStoppedLegalNoticeContent()
Return meeting chat legal notice content when stop to share meeting chat- Returns:
- notice content
-
-