NIMSDK-AOS  10.9.50
MuteListChangedNotify.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.friend.model;
2 
3 /**
4  * 静音列表变更通知
5  */
6 public class MuteListChangedNotify {
7  private String account;
8  private boolean mute;
9 
10  public MuteListChangedNotify(String account, boolean mute) {
11  this.account = account;
12  this.mute = mute;
13  }
14 
15  /**
16  * 静音发生变化的用户
17  *
18  * @return 用户账号
19  */
20  public String getAccount() {
21  return account;
22  }
23 
24  /**
25  * 该用户是否被静音
26  *
27  * @return true 表示该用户被静音;false 表示有消息提醒(未被静音)
28  */
29  public boolean isMute() {
30  return mute;
31  }
32 }