public class LiveRoomAudioLiveVcallControl extends AudioLiveVcallControl implements BaseVcallControl.GiftVcallHostCallback, AudioGridViewAdapter.onItemClick, android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static interface |
LiveRoomAudioLiveVcallControl.LiveAudioCallBack |
AudioLiveVcallControl.OutLineResultCallBack
BaseVcallControl.GiftVcallHostCallback, BaseVcallControl.IVcallUpLiveCallBack, BaseVcallControl.VCALL_NINE_TYPE
BaseVcallControl.GiftVcallHostCallback.UserListBean
限定符和类型 | 字段和说明 |
---|---|
protected com.kxsimon.video.chat.vcall.host.VCallUser |
broadcaster |
protected com.kxsimon.video.chat.vcall.host.VCallUser |
giftReciver |
protected android.graphics.Rect |
hostRect |
protected android.widget.ImageView |
mArrowDownIcon |
protected android.widget.ImageView |
mArrowUpIcon |
protected android.widget.GridView |
mAudienveGrid |
protected AudioGridViewAdapter |
mAudioGridViewAdapter |
protected int |
mCurrentMode |
protected android.widget.PopupWindow |
mGuidePop |
protected com.app.letter.vcall.GroupAudioUser |
mHostUser |
protected AudioVcallGroupView |
mHostVcallView |
protected boolean |
mIsAnimating |
protected java.util.ArrayList<android.view.View> |
mItemViewList |
protected LiveRoomAudioLiveVcallControl.LiveAudioCallBack |
mLiveAudioCallBack |
protected java.util.ArrayList<android.graphics.Rect> |
mNormalRectList |
protected android.graphics.Rect |
mOriginalBgLayoutRect |
protected float |
mRatio |
protected int |
mSmallItemBottom |
protected int |
mSmallItemWidth |
protected java.util.ArrayList<android.graphics.Rect> |
mSmallRectList |
protected GroupAudioBeamDialog |
mVcallDialog |
protected android.view.View |
mZoomOutBg |
AUDIO_AUDIO_ROOM, AUDIO_GROUP, heartRunnable, HOST_INDEX, isEnable, isHost, mActivity, mCallback, mChatIMType, mChatRoomId, mGroupId, mHandler, mHeartInternal, mInitFinish, mIsAudioMsgPlaying, mIsMute, mMyOperateTime, mMyVcallPosition, mOnlineConfirmTime, mRole, mRoomId, mVcallUserList, roomType, TAG, USER_MAX_NUM, VCALL_LIVE_MUSIC, webGameType
mHostVcallHintManage, mIVcallCallBack, mNineLiveType, mRecordClient, mVcallRootView, mVid, mVideoDataInfo
构造器和说明 |
---|
LiveRoomAudioLiveVcallControl() |
限定符和类型 | 方法和说明 |
---|---|
static void |
audioLogsReport(java.lang.String vid,
boolean isHost,
int logs) |
protected void |
cancelDialog()
关闭点击弹窗,如果别人操作我,这时候正好我的弹窗弹起,关闭弹窗。
|
protected void |
cancelDialogByUid(java.lang.String uid)
关闭点击弹窗,如果别人操作A,这时候正好也操作A,关闭弹窗。
|
void |
checkAudioModeGuidePop()
单人语音模式引导
|
void |
clearUserGiftSelect() |
protected android.widget.GridView |
getAudioGrid() |
protected void |
getDadaSuccess(java.lang.String chatRoomId)
加入聊天室,针对于家族用的
|
SendGiftTargetInfo |
getGiftReciver() |
int |
getNoneBeamIndex() |
android.view.ViewGroup |
getOneUserViewGroup(java.lang.String uid)
返回对应上麦者的父view,主要是做空间用的
|
android.graphics.Rect |
getRectByUid(java.lang.String uid,
boolean isGetStartRect) |
BaseVcallControl.GiftVcallHostCallback.UserListBean |
getUserList() |
protected boolean |
getWebGameStart() |
boolean |
giftIsMute(java.lang.String uid) |
void |
giftMuteOther(java.lang.String uid,
boolean isOpen) |
void |
giftQuitOther(java.lang.String uid) |
protected void |
initAnimation()
初始化连麦座位切换动画参数
|
protected void |
initAudioLive(java.lang.String roomid)
初始化zego 的东西,如果有就不需要了
|
boolean |
isGameStart() |
boolean |
isMuteEnable(java.lang.String uid) |
void |
onClick(android.view.View v) |
boolean |
onClickIndex(java.lang.String operUid,
int position)
点击事件的汇总,
operUid 操作uid.
|
void |
onClickSwitchBigView(java.lang.String uid) |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
void |
onDidlogShow(boolean isShow) |
protected void |
onGiftSelectUser(java.lang.String uid) |
void |
onHeadOnClick(int position) |
protected void |
onIndexHasUser(int position,
boolean isGameStart)
点击事件,如果点击的位置有人的处理
|
protected void |
onIsVcallIngToast() |
void |
onNameOnClick(int position) |
void |
onReceiveChangeModeMsg(AudioModeChangeMsgContent msg)
主播改变了座位模式时回调
|
void |
onSelectUser(java.lang.String uid) |
boolean |
onShowSwitchBigView() |
protected void |
setAdapter(int index,
com.app.letter.vcall.GroupAudioUser item)
增加数据,有人上麦或者下麦 ,增加数据
|
void |
setGameIsStart(boolean isGame) |
void |
setGiftHostReciver() |
void |
setLiveAudioCallBack(LiveRoomAudioLiveVcallControl.LiveAudioCallBack mLiveAudioCallBack) |
void |
setRemoteTalk(java.lang.String uid,
int v,
int baseLine) |
void |
setWebGameType(int webGameType) |
protected void |
showCardDialog(int position,
boolean isGameStart) |
void |
showUserCard(java.lang.String uid,
java.lang.String nickName,
java.lang.String headImgUrl) |
void |
stopMyself()
停止自己推流
|
protected void |
updateAdapterData(int position,
com.app.letter.vcall.GroupAudioUser user)
更新列表,有人上麦或下麦,位置和用户信息
|
protected void |
updateAudioMode(int mode)
更新当前语音模式
调用时机:1、观众beaminfo接口返回时,2、观众收到主播改变模式的消息时,3、主播点击切换模式的按钮时
|
protected void |
updateMuteStatus(java.lang.String uid,
int muteLimit,
boolean mute)
更新某人的声音
|
protected void |
userVcallStart()
有人上麦了
|
destroyVcall, doAction, getmCallback, getPermissionAndOnLine, getVcallUserList, hasAccessOper, hintVcallView, initVcall, initView, internalRealStartBeam, internalRealStopBeam, isActivityValid, ismInitFinish, isOtherVcalling, isPositionValid, isValidOperateByServer, isVcallByUid, isVcalling, log, mute, onInternalItemClick, onMembersRoleChange, onPlayerAudioMsg, onQuitClick, onUseronLine, openVcallTalkPage, releaseVcallView, remoteAudioVolume, sendHeartBeatMessage, sendMuteMessage, sendOnlineConfirmMessage, sendOnlineMessage, sendOutlineMessage, sendUnMuteMessage, setAudioData, setCanSpeaker, setmCallback, setMsg, startBeam, stopBeam, updateBeamList
getmVid, getmVideoDataInfo, linkUser, log, logToFile, setIVcallCallBack, setmVid, setParentVisible, setRecordClient, setVcallHintManager, switchNineVcallType, upDataHostKCoin, vcallTimeOut
protected android.widget.GridView mAudienveGrid
protected AudioVcallGroupView mHostVcallView
protected AudioGridViewAdapter mAudioGridViewAdapter
protected GroupAudioBeamDialog mVcallDialog
protected com.app.letter.vcall.GroupAudioUser mHostUser
protected android.graphics.Rect hostRect
protected LiveRoomAudioLiveVcallControl.LiveAudioCallBack mLiveAudioCallBack
protected android.widget.ImageView mArrowUpIcon
protected android.widget.ImageView mArrowDownIcon
protected android.view.View mZoomOutBg
protected java.util.ArrayList<android.view.View> mItemViewList
protected java.util.ArrayList<android.graphics.Rect> mNormalRectList
protected java.util.ArrayList<android.graphics.Rect> mSmallRectList
protected boolean mIsAnimating
protected int mCurrentMode
protected float mRatio
protected int mSmallItemWidth
protected int mSmallItemBottom
protected android.graphics.Rect mOriginalBgLayoutRect
protected android.widget.PopupWindow mGuidePop
protected com.kxsimon.video.chat.vcall.host.VCallUser giftReciver
protected com.kxsimon.video.chat.vcall.host.VCallUser broadcaster
public void setLiveAudioCallBack(LiveRoomAudioLiveVcallControl.LiveAudioCallBack mLiveAudioCallBack)
protected void cancelDialog()
AudioLiveVcallControl
cancelDialog
在类中 AudioLiveVcallControl
protected void cancelDialogByUid(java.lang.String uid)
AudioLiveVcallControl
cancelDialogByUid
在类中 AudioLiveVcallControl
protected void userVcallStart()
AudioLiveVcallControl
userVcallStart
在类中 AudioLiveVcallControl
protected void updateAdapterData(int position, com.app.letter.vcall.GroupAudioUser user)
AudioLiveVcallControl
updateAdapterData
在类中 AudioLiveVcallControl
protected void setAdapter(int index, com.app.letter.vcall.GroupAudioUser item)
AudioLiveVcallControl
setAdapter
在类中 AudioLiveVcallControl
protected void onIndexHasUser(int position, boolean isGameStart)
AudioLiveVcallControl
onIndexHasUser
在类中 AudioLiveVcallControl
protected void updateMuteStatus(java.lang.String uid, int muteLimit, boolean mute)
AudioLiveVcallControl
updateMuteStatus
在类中 AudioLiveVcallControl
protected void initAudioLive(java.lang.String roomid)
AudioLiveVcallControl
initAudioLive
在类中 AudioLiveVcallControl
public void stopMyself()
AudioLiveVcallControl
stopMyself
在类中 AudioLiveVcallControl
protected void getDadaSuccess(java.lang.String chatRoomId)
AudioLiveVcallControl
getDadaSuccess
在类中 AudioLiveVcallControl
protected void onIsVcallIngToast()
onIsVcallIngToast
在类中 AudioLiveVcallControl
public android.view.ViewGroup getOneUserViewGroup(java.lang.String uid)
uid
- protected android.widget.GridView getAudioGrid()
protected void showCardDialog(int position, boolean isGameStart)
public void showUserCard(java.lang.String uid, java.lang.String nickName, java.lang.String headImgUrl)
public void giftQuitOther(java.lang.String uid)
public void giftMuteOther(java.lang.String uid, boolean isOpen)
public boolean giftIsMute(java.lang.String uid)
public boolean isMuteEnable(java.lang.String uid)
public BaseVcallControl.GiftVcallHostCallback.UserListBean getUserList()
public boolean isGameStart()
public void onSelectUser(java.lang.String uid)
public boolean onShowSwitchBigView()
public void onClickSwitchBigView(java.lang.String uid)
public void onDidlogShow(boolean isShow)
protected void onGiftSelectUser(java.lang.String uid)
public SendGiftTargetInfo getGiftReciver()
public void setGiftHostReciver()
public void setGameIsStart(boolean isGame)
public void setWebGameType(int webGameType)
public boolean onClickIndex(java.lang.String operUid, int position)
public void setRemoteTalk(java.lang.String uid, int v, int baseLine)
protected boolean getWebGameStart()
public android.graphics.Rect getRectByUid(java.lang.String uid, boolean isGetStartRect)
public void onHeadOnClick(int position)
public void onNameOnClick(int position)
public void clearUserGiftSelect()
public static void audioLogsReport(java.lang.String vid, boolean isHost, int logs)
protected void initAnimation()
public void checkAudioModeGuidePop()
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void onReceiveChangeModeMsg(AudioModeChangeMsgContent msg)
protected void updateAudioMode(int mode)
updateAudioMode
在类中 AudioLiveVcallControl
mode
- 最新的模式类型public void onConfigurationChanged(android.content.res.Configuration newConfig)
public int getNoneBeamIndex()