NIMSDK-AOS
10.6.0
plugins
avchat
src
com
netease
nimlib
sdk
avchat
model
AVChatCommonEvent.java
浏览该文件的文档.
1
/*
2
* Copyright (c) 2014-2018 NetEase, Inc.
3
* All right reserved.
4
*/
5
6
package
com.netease.nimlib.sdk.avchat.model;
7
8
import
com
.
netease
.
nimlib
.
sdk
.
avchat
.
constant
.
AVChatEventType
;
9
import
com
.
netease
.
nimlib
.
sdk
.
avchat
.
constant
.
AVChatType
;
10
14
public
class
AVChatCommonEvent
implements
AVChatData
{
15
16
protected
AVChatEventType
event
;
17
18
protected
AVChatData
data
;
19
20
public
AVChatCommonEvent
(
AVChatEventType
event,
AVChatData
data) {
21
this.
event
=
event
;
22
this.data =
data
;
23
}
24
25
public
AVChatEventType
getEvent
() {
26
return
event
;
27
}
28
29
@Override
30
public
long
getChatId
() {
31
return
data.
getChatId
();
32
}
33
34
@Override
35
public
String
getAccount
() {
36
return
data.
getAccount
();
37
}
38
39
@Override
40
public
AVChatType
getChatType
() {
41
return
data.
getChatType
();
42
}
43
44
@Override
45
public
long
getTimeTag
() {
46
return
data.
getTimeTag
();
47
}
48
49
@Override
50
public
String
getExtra
() {
51
return
data.
getExtra
();
52
}
53
54
@Override
55
public
String
getPushSound
() {
56
return
data.
getPushSound
();
57
}
58
}
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.data
AVChatData data
Definition:
AVChatCommonEvent.java:18
com.netease
com.netease.nimlib.sdk.avchat.constant.AVChatEventType
音视频通话事件枚举
Definition:
AVChatEventType.java:11
com.netease.nimlib.sdk.avchat.model.AVChatData.getPushSound
String getPushSound()
获取推送铃声
com
com.netease.nimlib.sdk.avchat.model.AVChatData.getTimeTag
long getTimeTag()
获取当前事件发生的时间戳
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.event
AVChatEventType event
Definition:
AVChatCommonEvent.java:16
com.netease.nimlib.sdk.avchat.constant
Definition:
AVChatVideoCaptureOrientation.java:6
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.AVChatCommonEvent
AVChatCommonEvent(AVChatEventType event, AVChatData data)
Definition:
AVChatCommonEvent.java:20
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent
音视频通话事件
Definition:
AVChatCommonEvent.java:14
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getTimeTag
long getTimeTag()
获取当前事件发生的时间戳
Definition:
AVChatCommonEvent.java:45
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getChatType
AVChatType getChatType()
获取通话的类型
Definition:
AVChatCommonEvent.java:40
com.netease.nimlib.sdk.avchat.model.AVChatData.getChatId
long getChatId()
获取通话ID
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getPushSound
String getPushSound()
获取推送铃声
Definition:
AVChatCommonEvent.java:55
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getEvent
AVChatEventType getEvent()
Definition:
AVChatCommonEvent.java:25
com.netease.nimlib.sdk.avchat.model.AVChatData.getExtra
String getExtra()
获取自定义
com.netease.nimlib.sdk.avchat.constant.AVChatType
网络通话类型枚举
Definition:
AVChatType.java:13
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getAccount
String getAccount()
获取对方帐号, 多人通话时无效
Definition:
AVChatCommonEvent.java:35
com.netease.nimlib.sdk.avchat.model.AVChatData.getAccount
String getAccount()
获取对方帐号, 多人通话时无效
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getChatId
long getChatId()
获取通话ID
Definition:
AVChatCommonEvent.java:30
com.netease.nimlib.sdk.avchat
com.netease.nimlib.sdk.avchat.model.AVChatData
请求音视频通话信息
Definition:
AVChatData.java:15
com.netease.nimlib.sdk.avchat.model.AVChatData.getChatType
AVChatType getChatType()
获取通话的类型
com.netease.nimlib.sdk.avchat.model.AVChatCommonEvent.getExtra
String getExtra()
获取自定义
Definition:
AVChatCommonEvent.java:50
com.netease.nimlib
生成于 2024年 十一月 19日 星期二 20:07:50 , 为 NIMSDK-AOS使用
1.8.13