NIMSDK-AOS  9.19.0
InviteAckEvent.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.avsignalling.event;
2 
4 
5 /**
6  * 对方应答(接受/拒绝)邀请通知事件
7  */
8 public class InviteAckEvent extends ChannelCommonEvent {
9 
10  private String toAccountId;
11  private String requestId;
12  private InviteAckStatus ackStatus;
13 
14  public InviteAckEvent(SignallingEvent event, String toAccountId, String requestId, InviteAckStatus status) {
15  super(event);
16  this.toAccountId = toAccountId;
17  this.requestId = requestId;
18  this.ackStatus = status;
19  }
20 
21  /**
22  * 被操作者帐号,这里指应答了谁的邀请
23  */
24  public String getToAccountId() {
25  return toAccountId;
26  }
27 
28  /**
29  * 邀请发起者生成的邀请唯一标识
30  */
31  public String getRequestId() {
32  return requestId;
33  }
34 
35  /**
36  * 获取确认动作 , 接受{@link InviteAckStatus#ACCEPT}或拒绝{@link InviteAckStatus#REJECT}
37  */
39  return ackStatus;
40  }
41 }
InviteAckStatus getAckStatus()
获取确认动作 , 接受InviteAckStatus#ACCEPT或拒绝InviteAckStatus#REJECT
InviteAckEvent(SignallingEvent event, String toAccountId, String requestId, InviteAckStatus status)
String getToAccountId()
被操作者帐号,这里指应答了谁的邀请
String getRequestId()
邀请发起者生成的邀请唯一标识
对方应答(接受/拒绝)邀请通知事件