NIMSDK-AOS
9.19.0
plugins
avsignalling
src
com
netease
nimlib
sdk
avsignalling
event
ChannelCommonEvent.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.avsignalling.event;
2
3
4
import
com
.
netease
.
nimlib
.
sdk
.
avsignalling
.
constant
.
SignallingEventType
;
5
import
com
.
netease
.
nimlib
.
sdk
.
avsignalling
.
model
.
ChannelBaseInfo
;
6
7
/**
8
* 频道的通知通用事件
9
*/
10
public
class
ChannelCommonEvent
implements
SignallingEvent
{
11
12
private
SignallingEvent
event;
13
14
15
ChannelCommonEvent
(
SignallingEvent
event) {
16
this.
event
= event;
17
}
18
19
/**
20
* 获取频道基础信息
21
*/
22
@Override
23
public
ChannelBaseInfo
getChannelBaseInfo
() {
24
return
event
.getChannelBaseInfo();
25
}
26
27
/**
28
* 通知事件发起者
29
*/
30
@Override
31
public
String
getFromAccountId
() {
32
return
event
.getFromAccountId();
33
}
34
35
/**
36
* 事件自定义信息
37
*/
38
@Override
39
public
String
getCustomInfo
() {
40
return
event
.getCustomInfo();
41
}
42
43
/**
44
* 事件类型
45
*/
46
@Override
47
public
SignallingEventType
getEventType
() {
48
return
event
.getEventType();
49
}
50
51
/**
52
* 通知产生的时间(指对方发送通知的时间)
53
*/
54
@Override
55
public
long
getTime
() {
56
return
event
.getTime();
57
}
58
}
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent.getTime
long getTime()
通知产生的时间(指对方发送通知的时间)
Definition:
ChannelCommonEvent.java:55
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent.getEventType
SignallingEventType getEventType()
事件类型
Definition:
ChannelCommonEvent.java:47
com
com.netease.nimlib.sdk.avsignalling.model
Definition:
SignallingPushConfig.java:1
com.netease.nimlib.sdk.avsignalling
com.netease.nimlib.sdk.avsignalling.model.ChannelBaseInfo
频道基础信息
Definition:
ChannelBaseInfo.java:12
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent
频道的通知通用事件
Definition:
ChannelCommonEvent.java:10
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent.getCustomInfo
String getCustomInfo()
事件自定义信息
Definition:
ChannelCommonEvent.java:39
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent.getFromAccountId
String getFromAccountId()
通知事件发起者
Definition:
ChannelCommonEvent.java:31
com.netease.nimlib.sdk.avsignalling.constant
Definition:
ChannelStatus.java:1
com.netease.nimlib.sdk.avsignalling.event.ChannelCommonEvent.getChannelBaseInfo
ChannelBaseInfo getChannelBaseInfo()
获取频道基础信息
Definition:
ChannelCommonEvent.java:23
com.netease.nimlib.sdk.avsignalling.constant.SignallingEventType
信令通知的事件类型
Definition:
SignallingEventType.java:8
com.netease.nimlib
com.netease.nimlib.sdk.avsignalling.event.SignallingEvent
音视频信令的通知事件
Definition:
SignallingEvent.java:11
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13