Package com.zego.zegoliveroom.callback
Interface IZegoResponseCallback
-
public interface IZegoResponseCallback
连麦请求响应回调。Copyright © 2017 Zego. All rights reserved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onResponse(int result, java.lang.String fromUserID, java.lang.String fromUserName)
主播邀请连麦时观众的响应结果,或者观众请求连麦时主播的响应结果,都是通过此回调返回
-
-
-
Method Detail
-
onResponse
void onResponse(int result, java.lang.String fromUserID, java.lang.String fromUserName)
主播邀请连麦时观众的响应结果,或者观众请求连麦时主播的响应结果,都是通过此回调返回- Parameters:
result
- 0:同意, 其它:不同意fromUserID
- 响应请求的用户 IDfromUserName
- 响应请求的用户名- See Also:
ZegoLiveRoom.requestJoinLive(com.zego.zegoliveroom.callback.IZegoResponseCallback)
,ZegoLiveRoom.inviteJoinLive(java.lang.String, com.zego.zegoliveroom.callback.IZegoResponseCallback)
-
-