public class SevenVcallAudienceControl extends NineVcallBaseControl
NineVcallBaseControl.SwitchJoinResult
BaseVcallControl.GiftVcallHostCallback, BaseVcallControl.IVcallUpLiveCallBack, BaseVcallControl.VCALL_NINE_TYPE
限定符和类型 | 字段和说明 |
---|---|
BaseVcallControl.GiftVcallHostCallback |
mGiftCallback |
protected SevenGroupLiveApplyListDialog |
mGroupApplyListDialog |
beamMode, isMarkSoundLevel, isShowToast, isVcallIng, matchMakerManager, mAuthorInfo, mContext, mHasBeamed, mHostVcallData, mJoinType, mSevenApplyView, mSevenVcallDataList, mTalkForInOrderTimer, mTalkInOrderNineTime, mTimeShowBeamGuide, NINE_VCALL_CHAIRS, nineTalkMode, SWITCH_FROM_AUTO_BEAM, SWITCH_FROM_DEFAULT, switchModeTime, volumeCount, volumeflag
mHostVcallHintManage, mIVcallCallBack, mNineLiveType, mRecordClient, mVcallRootView, mVid, TAG
构造器和说明 |
---|
SevenVcallAudienceControl(android.content.Context context,
java.lang.String mvid,
com.app.live.activity.VideoDataInfo videoDataInfo,
boolean isVcallPlayer,
SevenHostGetPositionMessage.Result result,
com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode,
VcallUnionAudienceControl.VcallUnionAudienceCallBack mVcallUnionAudienceCallBack,
boolean isNeedSendMsg) |
限定符和类型 | 方法和说明 |
---|---|
void |
autoConnectBeam() |
void |
bindSelfData(int mIndex,
long vcallStartTS) |
void |
clickApplyMatchmaker(int postion)
点击红娘连麦申请按钮
|
void |
clickApplyView() |
void |
configSizeChange() |
void |
delSelfData() |
void |
destroyVcall() |
void |
doApply() |
void |
doBeamGuide(int type)
检查beam引导
|
com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode |
getBeamMode() |
BaseVcallControl.GiftVcallHostCallback |
getGiftCallBack() |
SendGiftTargetInfo |
getGiftReciver() |
SevenGroupLiveApplyListDialog |
getGroupLiveApplyListDialog() |
void |
getGroupLiveApplyOrCancelMsg(SevenLiveApplyCancelMsgContent event) |
protected java.lang.String |
getmVid() |
protected com.app.live.activity.VideoDataInfo |
getmVideoDataInfo() |
int |
getNineVcallWindowBottom()
获得九连麦最后一个窗口底部高度
|
void |
getUnionGiftMsgContentMsg(ReciveUnionGiftMsgEvent event) |
android.graphics.Rect |
getVcallPlayRect(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode,
int index,
boolean isVcallPlayer) |
void |
hintVcallView(boolean isShow) |
void |
initVcall() |
void |
initView(android.view.ViewGroup rootView) |
boolean |
isInitVcallPlay() |
boolean |
isVcallIng(int index) |
int |
isVcallIng(java.lang.String uid) |
static void |
NineVcallLogsReport(java.lang.String vid,
boolean isHost,
int logs,
int types,
boolean isFreeJoin,
boolean isMatchmaker) |
void |
onAudioVolume(java.lang.String uid,
int volume,
int baseLine) |
void |
playSoundReal() |
void |
releaseVcallView(android.view.ViewGroup rootView) |
void |
sendVCallApply(boolean apply) |
void |
setApplyView(GroupLiveApplyView mUnionApplyView) |
void |
setGiftHostReciver() |
void |
setLoadingEnd() |
void |
setMuteState(SevenUserMuteMsgContent msg) |
void |
setPositionClose(int index,
boolean isClose,
int joinType) |
void |
setRootViewShow(boolean isShow) |
void |
showInviteCardDialog() |
void |
showSelfData(boolean isFromAutoBeam,
int cameraopen)
是否是自动上麦
|
void |
showVCallUnion(int index,
java.lang.String uid,
java.lang.String nick,
int level,
java.lang.String face,
long mvcallStartTime,
boolean isopencamera) |
protected void |
startTalkForInOrder()
开始顺序发言
|
void |
stopVCall() |
void |
stopVCall(java.lang.String userId)
有任何一个人退出,都会走到该方法,包括自己
|
void |
switchBeamMode(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode beamMode,
com.app.vcall.AudienceVcallPlayer audienceVcallPlayer) |
protected void |
switchJoinTypeView(int nineJoinType,
boolean first) |
void |
switchJoinVcallType(int nineJoinType,
NineVcallBaseControl.SwitchJoinResult switchJoinResult,
boolean first) |
void |
switchTalkType(int talkType) |
void |
switchTalkType(int talkMode,
long inorderTime,
java.util.ArrayList<NineMultiMuteContentMessage.MuteInfo> muteInfos,
java.util.HashMap<java.lang.String,java.lang.Boolean> hashMuteInfos)
切换发言的模式,不管是接口还是融云都会走到这里
|
void |
switchUserCameraSwitch(boolean isClose,
java.lang.String uid) |
void |
upDataHostKCoin(java.lang.String KCoin) |
changeCheezBeamView, clickVcallMatchmakerPreViewAgree, getAuthorInfo, getHeartBeatTQAVInfoJson, getHostIndex, getHostUid, getJoinVcallType, getNoVcallIndex, getRectByUid, getSevenVcallDataList, getShowRect, getUnionList, getVcallDataByUid, getVcallIngNum, isCanInviteUser, isFastClick, isJoinFree, isPrepareLiving, isShowToast, isVcallIng, onClickMatchmakerIcon, onGetPassMuteMessage, openVcallTalkPage, reportSwitchNineBeamMode, selectUserByUid, setAllAudienceMute, setApplyView, setAuthorInfo, setNetWorkSrc, setPushTalk, setShowToast, setTimeShowBeamGuide, showOrHideNetWorkLin, showUpdateBeamModeDialog, stopTalkForInOrder, switchBeamMode
linkUser, log, logToFile, onConfigurationChanged, setIVcallCallBack, setmVid, setParentVisible, setRecordClient, setVcallHintManager, switchNineVcallType, vcallTimeOut
protected SevenGroupLiveApplyListDialog mGroupApplyListDialog
public BaseVcallControl.GiftVcallHostCallback mGiftCallback
public SevenVcallAudienceControl(android.content.Context context, java.lang.String mvid, com.app.live.activity.VideoDataInfo videoDataInfo, boolean isVcallPlayer, SevenHostGetPositionMessage.Result result, com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode, VcallUnionAudienceControl.VcallUnionAudienceCallBack mVcallUnionAudienceCallBack, boolean isNeedSendMsg)
public void switchTalkType(int talkType)
switchTalkType
在类中 NineVcallBaseControl
public void setRootViewShow(boolean isShow)
setRootViewShow
在类中 NineVcallBaseControl
public void initView(android.view.ViewGroup rootView)
initView
在类中 NineVcallBaseControl
public int getNineVcallWindowBottom()
getNineVcallWindowBottom
在类中 NineVcallBaseControl
public void setApplyView(GroupLiveApplyView mUnionApplyView)
public void clickApplyView()
clickApplyView
在类中 NineVcallBaseControl
public void clickApplyMatchmaker(int postion)
public void doApply()
doApply
在类中 NineVcallBaseControl
public int isVcallIng(java.lang.String uid)
isVcallIng
在类中 NineVcallBaseControl
public boolean isVcallIng(int index)
public void autoConnectBeam()
autoConnectBeam
在类中 NineVcallBaseControl
public void setMuteState(SevenUserMuteMsgContent msg)
setMuteState
在类中 NineVcallBaseControl
public void setLoadingEnd()
setLoadingEnd
在类中 NineVcallBaseControl
public SevenGroupLiveApplyListDialog getGroupLiveApplyListDialog()
public void getGroupLiveApplyOrCancelMsg(SevenLiveApplyCancelMsgContent event)
public void upDataHostKCoin(java.lang.String KCoin)
upDataHostKCoin
在类中 BaseVcallControl
public void getUnionGiftMsgContentMsg(ReciveUnionGiftMsgEvent event)
public BaseVcallControl.GiftVcallHostCallback getGiftCallBack()
getGiftCallBack
在类中 NineVcallBaseControl
protected java.lang.String getmVid()
getmVid
在类中 BaseVcallControl
public void showInviteCardDialog()
public SendGiftTargetInfo getGiftReciver()
getGiftReciver
在类中 NineVcallBaseControl
public void setGiftHostReciver()
public void initVcall()
initVcall
在类中 NineVcallBaseControl
public void destroyVcall()
destroyVcall
在类中 NineVcallBaseControl
public void stopVCall(java.lang.String userId)
stopVCall
在类中 NineVcallBaseControl
userId
- protected com.app.live.activity.VideoDataInfo getmVideoDataInfo()
getmVideoDataInfo
在类中 BaseVcallControl
public void stopVCall()
stopVCall
在类中 NineVcallBaseControl
public void releaseVcallView(android.view.ViewGroup rootView)
releaseVcallView
在类中 NineVcallBaseControl
public void hintVcallView(boolean isShow)
hintVcallView
在类中 NineVcallBaseControl
public void sendVCallApply(boolean apply)
sendVCallApply
在类中 NineVcallBaseControl
public void bindSelfData(int mIndex, long vcallStartTS)
bindSelfData
在类中 NineVcallBaseControl
public void showSelfData(boolean isFromAutoBeam, int cameraopen)
showSelfData
在类中 NineVcallBaseControl
isFromAutoBeam
- public void delSelfData()
delSelfData
在类中 NineVcallBaseControl
public void showVCallUnion(int index, java.lang.String uid, java.lang.String nick, int level, java.lang.String face, long mvcallStartTime, boolean isopencamera)
showVCallUnion
在类中 NineVcallBaseControl
protected void switchJoinTypeView(int nineJoinType, boolean first)
public void switchJoinVcallType(int nineJoinType, NineVcallBaseControl.SwitchJoinResult switchJoinResult, boolean first)
public void setPositionClose(int index, boolean isClose, int joinType)
setPositionClose
在类中 NineVcallBaseControl
protected void startTalkForInOrder()
public void switchTalkType(int talkMode, long inorderTime, java.util.ArrayList<NineMultiMuteContentMessage.MuteInfo> muteInfos, java.util.HashMap<java.lang.String,java.lang.Boolean> hashMuteInfos)
switchTalkType
在类中 NineVcallBaseControl
talkMode
- 切换的模式inorderTime
- 顺序发言的时间muteInfos
- 每个人的状态hashMuteInfos
- uid 对应发言模式。public void onAudioVolume(java.lang.String uid, int volume, int baseLine)
onAudioVolume
在类中 NineVcallBaseControl
public com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode getBeamMode()
getBeamMode
在类中 NineVcallBaseControl
public void switchBeamMode(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode beamMode, com.app.vcall.AudienceVcallPlayer audienceVcallPlayer)
switchBeamMode
在类中 NineVcallBaseControl
public void playSoundReal()
playSoundReal
在类中 NineVcallBaseControl
public static void NineVcallLogsReport(java.lang.String vid, boolean isHost, int logs, int types, boolean isFreeJoin, boolean isMatchmaker)
public android.graphics.Rect getVcallPlayRect(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode, int index, boolean isVcallPlayer)
public void switchUserCameraSwitch(boolean isClose, java.lang.String uid)
public boolean isInitVcallPlay()
isInitVcallPlay
在类中 NineVcallBaseControl
public void configSizeChange()
configSizeChange
在类中 NineVcallBaseControl
public void doBeamGuide(int type)
doBeamGuide
在类中 NineVcallBaseControl
type
- 0:进入直播间5s,1:有人上麦了,2:有人下麦了,3:主播切换座位数量了,4:主播关闭了某个座位