Video SDK for Android API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKChatMessage.java
Go to the documentation of this file.
1package us.zoom.sdk;
2
3import androidx.annotation.Nullable;
4
11 private String msgId;
12
14
15 private String senderName;
16
18
19 private String content;
20
21 private long timeStamp;
22
23 private boolean isChatToAll;
24
25 private boolean isSelfSend;
26
27
28 public ZoomVideoSDKChatMessage(String msgId, ZoomVideoSDKUser senderUser, String senderName, ZoomVideoSDKUser receiverUser, String content, long timeStamp, boolean isChattoAll, boolean isSelfSend) {
29 this.msgId = msgId;
30 this.senderUser = senderUser;
31 this.senderName = senderName;
32 this.receiverUser = receiverUser;
33 this.content = content;
34 this.timeStamp = timeStamp;
35 this.isChatToAll = isChattoAll;
36 this.isSelfSend = isSelfSend;
37 }
38
43 public String getMessageId() {
44 return msgId;
45 }
46
51 @Nullable
53 return senderUser;
54 }
55
60 public String getSenderName() {
61 return senderName;
62 }
63
69 return receiverUser;
70 }
71
76 public String getContent() {
77 return content;
78 }
79
84 public long getTimeStamp() {
85 return timeStamp;
86 }
87
92 public boolean isChatToAll() {
93 return isChatToAll;
94 }
95
100 public boolean isSelfSend() {
101 return isSelfSend;
102 }
103
104}
long getTimeStamp()
Gets the message timestamp in milliseconds.
ZoomVideoSDKUser getSenderUser()
Gets the sender user. When the message is sent from a broadcast streaming viewer, this function retur...
boolean isChatToAll()
Determines whether the message is sent to all.
ZoomVideoSDKUser getReceiverUser()
Gets the message receiver user. If the message is sent to all, receiverUser is null.
ZoomVideoSDKChatMessage(String msgId, ZoomVideoSDKUser senderUser, String senderName, ZoomVideoSDKUser receiverUser, String content, long timeStamp, boolean isChattoAll, boolean isSelfSend)
boolean isSelfSend()
Determines whether the message is sent by myself.
String getContent()
Gets the message content.
String getSenderName()
Gets the sender's display name. This function returns the sender's name for both session users and br...
Zoom Video SDK user information.