NIMSDK-AOS
10.6.0
plugins
qchatmedia
src
main
java
com
netease
nimlib
sdk
qcmedia
model
QChatMemberVolumeInfo.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qcmedia.model;
2
3
4
import
java.util.Objects;
5
6
public
class
QChatMemberVolumeInfo
{
7
private
final
String accid;
8
private
final
int
volume;
9
15
public
QChatMemberVolumeInfo
(String accid,
int
volume) {
16
this.accid = accid;
17
this.volume = volume;
18
}
19
24
public
final
String
getAccid
() {
25
return
this.accid;
26
}
27
32
public
final
int
getVolume
() {
33
return
this.volume;
34
}
35
36
@Override
37
public
boolean
equals
(Object o) {
38
if
(
this
== o) {
39
return
true
;
40
}
41
if
(!(o instanceof
QChatMemberVolumeInfo
)) {
42
return
false
;
43
}
44
QChatMemberVolumeInfo that = (
QChatMemberVolumeInfo
) o;
45
return
volume == that.volume && accid.equals(that.accid);
46
}
47
48
@Override
49
public
int
hashCode
() {
50
return
Objects.hash(accid, volume);
51
}
52
53
@Override
54
public
String
toString
() {
55
return
"QChatMemberVolumeInfo{"
+
56
"accid='"
+ accid +
'\''
+
57
", volume="
+ volume +
58
'}'
;
59
}
60
}
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.hashCode
int hashCode()
Definition:
QChatMemberVolumeInfo.java:49
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.QChatMemberVolumeInfo
QChatMemberVolumeInfo(String accid, int volume)
Definition:
QChatMemberVolumeInfo.java:15
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo
Definition:
QChatMemberVolumeInfo.java:6
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.equals
boolean equals(Object o)
Definition:
QChatMemberVolumeInfo.java:37
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.getVolume
final int getVolume()
获取音量大小 [0-100]
Definition:
QChatMemberVolumeInfo.java:32
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.getAccid
final String getAccid()
获取accid
Definition:
QChatMemberVolumeInfo.java:24
com.netease.nimlib.sdk.qcmedia.model.QChatMemberVolumeInfo.toString
String toString()
Definition:
QChatMemberVolumeInfo.java:54
生成于 2024年 十一月 19日 星期二 20:07:51 , 为 NIMSDK-AOS使用
1.8.13