public class GroupLiveController
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
GroupLiveController.GroupLiveControllerCallBack |
限定符和类型 | 字段和说明 |
---|---|
protected GroupliveDataMgr |
groupDataMgr |
protected GroupLiveController.GroupLiveControllerCallBack |
groupLiveControllerCallBack |
protected android.os.Handler |
mBaseHandler |
protected android.content.Context |
mContext |
protected java.lang.String |
mHttpMsgTag |
protected UnionOrNormalLiveApplyView |
mUnionApplyView |
构造器和说明 |
---|
GroupLiveController(android.content.Context mContext,
android.os.Handler mBaseHandler,
java.lang.String sVid,
boolean isBoZhu,
java.lang.String httpMsgTag) |
限定符和类型 | 方法和说明 |
---|---|
void |
clickApplyView() |
void |
doAppleOrCanel(boolean isApply) |
void |
getGroupLiveApplyOrCancelMsg(GroupLiveApplyCancelMsgContent event)
接收到申请或者取消联合
|
GroupliveDataMgr |
getGroupliveDataMgr() |
boolean |
getPrepareLiving()
返回当前截断 在同意连线到连城成功或失败的过程中
|
void |
initWaitingData()
初始化右下角申请联合主播的数据
观众端进入首先拉服务端数据
|
void |
initWaitingView()
初始化右下角申请联合主播的view
|
void |
removeUserFromList(java.lang.String uid) |
void |
removeUserFromList(java.lang.String uid,
boolean tip) |
void |
sendAppplyCancelMsg() |
void |
sendAppplyMsg(java.util.concurrent.atomic.AtomicBoolean loading)
连麦成功
如果在联合直播中,需要将申请人数-1
public void getInteractSuccessMsg(InteractSuccessMsgContent msg) {
if (msg == null || msg.getUid() == null) {
return;
}
if (mUnionApplyView !
|
void |
setApplyView(UnionOrNormalLiveApplyView view) |
void |
setGroupLiveControllerCallBack(GroupLiveController.GroupLiveControllerCallBack groupLiveControllerCallBack) |
void |
setPrepareLiving(boolean prepareLiving) |
void |
showWsitingListDialog(boolean show)
展示申请列表
|
protected GroupliveDataMgr groupDataMgr
protected UnionOrNormalLiveApplyView mUnionApplyView
protected android.content.Context mContext
protected android.os.Handler mBaseHandler
protected GroupLiveController.GroupLiveControllerCallBack groupLiveControllerCallBack
protected java.lang.String mHttpMsgTag
public GroupLiveController(android.content.Context mContext, android.os.Handler mBaseHandler, java.lang.String sVid, boolean isBoZhu, java.lang.String httpMsgTag)
public void setApplyView(UnionOrNormalLiveApplyView view)
public void clickApplyView()
public void initWaitingView()
public void initWaitingData()
public void showWsitingListDialog(boolean show)
public void getGroupLiveApplyOrCancelMsg(GroupLiveApplyCancelMsgContent event)
event
- public void sendAppplyMsg(java.util.concurrent.atomic.AtomicBoolean loading)
public void sendAppplyCancelMsg()
public void setPrepareLiving(boolean prepareLiving)
public boolean getPrepareLiving()
public void setGroupLiveControllerCallBack(GroupLiveController.GroupLiveControllerCallBack groupLiveControllerCallBack)
public void doAppleOrCanel(boolean isApply)
public void removeUserFromList(java.lang.String uid)
public void removeUserFromList(java.lang.String uid, boolean tip)
public GroupliveDataMgr getGroupliveDataMgr()