NIMSDK-AOS  10.6.0
EventSubscribeResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.event.model;
2 
7 public class EventSubscribeResult {
8 
12  protected int eventType;
13 
17  protected long expiry;
18 
22  protected long time;
23 
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 
int eventType
事件类型,1-99999 为云信保留类型,自定义的订阅事件请选择此范围意外的值
long expiry
事件的有效期,范围为 60s 到 7days,数值单位为秒