NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
event
model
EventSubscribeResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.event.model;
2
3
/**
4
* 事件订阅结果
5
*/
6
7
public
class
EventSubscribeResult
{
8
9
/**
10
* 事件类型,1-99999 为云信保留类型,自定义的订阅事件请选择此范围意外的值
11
*/
12
protected
int
eventType
;
13
14
/**
15
* 事件的有效期,范围为 60s 到 7days,数值单位为秒
16
*/
17
protected
long
expiry
;
18
19
/**
20
* 事件订阅的时间
21
*/
22
protected
long
time
;
23
24
/**
25
* 事件发布者的账号
26
*/
27
protected
String
publisherAccount
;
28
29
public
int
getEventType
() {
30
return
eventType
;
31
}
32
33
public
long
getExpiry
() {
34
return
expiry
;
35
}
36
37
public
long
getTime
() {
38
return
time
;
39
}
40
41
public
String
getPublisherAccount
() {
42
return
publisherAccount
;
43
}
44
}
45
com.netease.nimlib.sdk.event.model.EventSubscribeResult.time
long time
事件订阅的时间
Definition:
EventSubscribeResult.java:22
com.netease.nimlib.sdk.event.model.EventSubscribeResult.getPublisherAccount
String getPublisherAccount()
Definition:
EventSubscribeResult.java:41
com.netease.nimlib.sdk.event.model.EventSubscribeResult.publisherAccount
String publisherAccount
事件发布者的账号
Definition:
EventSubscribeResult.java:27
com.netease.nimlib.sdk.event.model.EventSubscribeResult.getTime
long getTime()
Definition:
EventSubscribeResult.java:37
com.netease.nimlib.sdk.event.model.EventSubscribeResult.getEventType
int getEventType()
Definition:
EventSubscribeResult.java:29
com.netease.nimlib.sdk.event.model.EventSubscribeResult.getExpiry
long getExpiry()
Definition:
EventSubscribeResult.java:33
com.netease.nimlib.sdk.event.model.EventSubscribeResult
事件订阅结果
Definition:
EventSubscribeResult.java:7
com.netease.nimlib.sdk.event.model.EventSubscribeResult.eventType
int eventType
事件类型,1-99999 为云信保留类型,自定义的订阅事件请选择此范围意外的值
Definition:
EventSubscribeResult.java:12
com.netease.nimlib.sdk.event.model.EventSubscribeResult.expiry
long expiry
事件的有效期,范围为 60s 到 7days,数值单位为秒
Definition:
EventSubscribeResult.java:17
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13