NIMSDK-AOS  9.16.3
QChatSendTypingEventParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 import com.netease.nimlib.util.StringUtil;
5 import java.util.Map;
6 
11 
15  @NonNull
16  private final long serverId;
20  @NonNull
21  private final long channelId;
25  private Map<String, Object> extension;
29  @NonNull
30  private final String uuid;
31 
36  public QChatSendTypingEventParam(long serverId, long channelId) {
37  this.serverId = serverId;
38  this.channelId = channelId;
39  this.uuid = StringUtil.get32UUID();
40 
41  }
42 
48  @NonNull
49  public long getServerId() {
50  return serverId;
51  }
52 
58  @NonNull
59  public long getChannelId() {
60  return channelId;
61  }
62 
68  @NonNull
69  public String getUuid() {
70  return uuid;
71  }
72 
78  public Map<String, Object> getExtension() {
79  return extension;
80  }
81 
87  public void setExtension(Map<String, Object> extension) {
88  this.extension = extension;
89  }
90 }
void setExtension(Map< String, Object > extension)
设置事件扩展