NIMSDK-AOS  10.6.0
MsgPinDbOption.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
3 import com.netease.nimlib.session.MsgPinOptionImpl;
4 
5 import java.io.Serializable;
6 
7 public class MsgPinDbOption implements Serializable {
8  private final String uuid;
9  private final String sessionId;
10  private final MsgPinOption pinOption;
11 
12  public MsgPinDbOption(String uuid, String sessionId, String account, String ext, long createTime, long updateTime) {
13  this(uuid, sessionId, new MsgPinOptionImpl(account, ext, createTime, updateTime));
14  }
15 
16  public MsgPinDbOption(String uuid, String sessionId, MsgPinOption pinOption) {
17  this.uuid = uuid;
18  this.sessionId = sessionId;
19  this.pinOption = pinOption;
20  }
21 
22  public String getUuid() {
23  return uuid;
24  }
25 
26  public String getSessionId() {
27  return sessionId;
28  }
29 
31  return pinOption;
32  }
33 }
MsgPinDbOption(String uuid, String sessionId, MsgPinOption pinOption)
MsgPinDbOption(String uuid, String sessionId, String account, String ext, long createTime, long updateTime)