NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
msg
model
BroadcastMessage.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.msg.model;
2
3
import
java.io.Serializable;
4
5
/**
6
* 全员广播通知
7
*/
8
9
public
class
BroadcastMessage
implements
Serializable{
10
11
/**
12
* 广播id
13
*/
14
private
long
id;
15
16
/**
17
* 广播发送者账号
18
*/
19
private
String fromAccount;
20
21
/**
22
* 广播消息时间戳
23
*/
24
private
long
time;
25
26
/**
27
* 广播消息内容
28
*/
29
private
String content;
30
31
public
long
getId
() {
32
return
id;
33
}
34
35
public
void
setId
(
long
id
) {
36
this.
id
= id;
37
}
38
39
public
String
getFromAccount
() {
40
return
fromAccount;
41
}
42
43
public
void
setFromAccount
(String fromAccount) {
44
this.fromAccount = fromAccount;
45
}
46
47
public
long
getTime
() {
48
return
time;
49
}
50
51
public
void
setTime
(
long
time) {
52
this.time = time;
53
}
54
55
public
String
getContent
() {
56
return
content;
57
}
58
59
public
void
setContent
(String content) {
60
this.content = content;
61
}
62
}
com.netease.nimlib.sdk.msg.model.BroadcastMessage.setFromAccount
void setFromAccount(String fromAccount)
Definition:
BroadcastMessage.java:43
com.netease.nimlib.sdk.msg.model.BroadcastMessage.setContent
void setContent(String content)
Definition:
BroadcastMessage.java:59
com.netease.nimlib.sdk.msg.model.BroadcastMessage.getContent
String getContent()
Definition:
BroadcastMessage.java:55
com.netease.nimlib.sdk.msg.model.BroadcastMessage
全员广播通知
Definition:
BroadcastMessage.java:9
com.netease.nimlib.sdk.msg.model.BroadcastMessage.getFromAccount
String getFromAccount()
Definition:
BroadcastMessage.java:39
com.netease.nimlib.sdk.msg.model.BroadcastMessage.setTime
void setTime(long time)
Definition:
BroadcastMessage.java:51
com.netease.nimlib.sdk.msg.model.BroadcastMessage.setId
void setId(long id)
Definition:
BroadcastMessage.java:35
com.netease.nimlib.sdk.msg.model.BroadcastMessage.getId
long getId()
Definition:
BroadcastMessage.java:31
com.netease.nimlib.sdk.msg.model.BroadcastMessage.getTime
long getTime()
Definition:
BroadcastMessage.java:47
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13