NIMSDK-AOS  9.19.0
InvitedEvent.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.avsignalling.event;
2 
4 
5 /**
6  * 被邀请通知事件
7  */
8 public class InvitedEvent extends ChannelCommonEvent {
9 
10  private String toAccountId;
11  private String requestId;
12  private SignallingPushConfig pushConfig;
13 
14 
15  public InvitedEvent(SignallingEvent event, String toAccountId, String requestId, SignallingPushConfig pushConfig) {
16  super(event);
17  this.toAccountId = toAccountId;
18  this.requestId = requestId;
19  this.pushConfig = pushConfig;
20  }
21 
22  /**
23  * 被操作者帐号id ,即被邀请对象
24  */
25  public String getToAccountId() {
26  return toAccountId;
27  }
28 
29  /**
30  * 由邀请发起者生成邀请唯一标识
31  */
32  public String getRequestId() {
33  return requestId;
34  }
35 
36  /**
37  * 推送配置
38  */
40  return pushConfig;
41  }
42 }
InvitedEvent(SignallingEvent event, String toAccountId, String requestId, SignallingPushConfig pushConfig)
String getToAccountId()
被操作者帐号id ,即被邀请对象
String getRequestId()
由邀请发起者生成邀请唯一标识
SignallingPushConfig getPushConfig()
推送配置