NIMSDK-AOS  9.19.0
MsgPinNotifyOption.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
3 import java.io.Serializable;
4 
5 /**
6  * @author chenjili
7  * @date 2020/4/4
8  * @see MsgPinOption
9  * @see MessageKey
10  */
11 public class MsgPinNotifyOption implements Serializable {
12  private final MessageKey key;
13  private final MsgPinOption pin;
14 
16  this.key = key;
17  this.pin = pin;
18  }
19 
20  public MessageKey getKey() {
21  return key;
22  }
23 
24  public MsgPinOption getPin() {
25  return pin;
26  }
27 }
MsgPinNotifyOption(MessageKey key, MsgPinOption pin)
消息的关键信息,通过这些信息可以从服务端查询到该消息的完整部分
Definition: MessageKey.java:17