NIMSDK-AOS  9.20.10
QChatMarkSystemNotificationsReadParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import android.util.Pair;
4 
5 import androidx.annotation.NonNull;
6 
8 
9 import java.util.List;
10 
11 /**
12  * "标记系统通知已读"接口入参
13  */
15 
16  /**
17  * 系统通知msgIdServer和系统通知类型键值对列表
18  */
19  @NonNull
20  private final List<Pair<Long, QChatSystemNotificationType>> pairs;
21 
22  /**
23  *
24  * @param pairs 系统通知msgIdServer和系统通知类型键值对列表
25  */
27  @NonNull List<Pair<Long, QChatSystemNotificationType>> pairs) {
28  this.pairs = pairs;
29  }
30 
31  /**
32  * 获取系统通知msgIdServer和系统通知类型键值对列表
33  * @return
34  */
35  @NonNull
36  public List<Pair<Long, QChatSystemNotificationType>> getIdTypePairs() {
37  return pairs;
38  }
39 }
QChatMarkSystemNotificationsReadParam(@NonNull List< Pair< Long, QChatSystemNotificationType >> pairs)
List< Pair< Long, QChatSystemNotificationType > > getIdTypePairs()
获取系统通知msgIdServer和系统通知类型键值对列表