public class UpLiveBeamBoostManager extends android.database.Observable<BeamBoostListener> implements IUpLiveBeamBoostManager, CommonWebViewDialog.OnH5InteractListener
限定符和类型 | 类和说明 |
---|---|
static class |
UpLiveBeamBoostManager.Builder |
限定符和类型 | 字段和说明 |
---|---|
static int |
AUTO_BEAM_FROM_INVITE_DIALOG
点击直播间邀请dialog
|
static int |
AUTO_BEAM_FROM_MESSAGE_LIST
点击直播间消息列表
|
限定符和类型 | 方法和说明 |
---|---|
void |
autoBeam(android.content.Context context,
java.lang.String vid,
int from)
先停止当前直播间,并关闭当前页面;再跳转到连麦直播间,自动上麦
|
void |
callBoostRequest(java.lang.String vid,
java.lang.String desc,
androidx.core.util.Consumer<java.lang.Boolean> runnable)
请求服务端呼叫接口
|
void |
clickBeamBoostButton() |
void |
clickCallBoost(java.lang.String vid,
java.lang.String desc,
androidx.core.util.Consumer<java.lang.Boolean> runnable)
点击呼叫按钮-首先判断是否是自由加入模式,如果是自由加入模式,直接回调回去;否则,弹出dialog,供用户切换为自由模式
|
int |
getLeftCount() |
int |
getMessageCount() |
boolean |
hasClickMessage() |
boolean |
isBoosting()
是否正在进行互换请求
|
boolean |
isInsufficientFrequency()
次数不足
|
boolean |
isRequestSuccess() |
boolean |
isShowFirstShowDialog() |
boolean |
isShowingInviteDialog() |
boolean |
isShowMessageHot() |
void |
onBack() |
void |
onDestroy() |
void |
onEnterPage() |
void |
onPause() |
void |
onReceiverBeamBoostInviteMessage(com.app.letter.message.rong.notification.BeamBoostInviteConnectBeamMessage message)
接受到邀请私信
|
void |
onResume() |
void |
onSwitchJoinToNormal(androidx.core.util.Consumer<java.lang.Boolean> consumer) |
void |
openGift(java.lang.String activityType,
java.lang.String activityId,
java.lang.String source) |
void |
reportClick(int logs) |
void |
reportClick(int logs,
java.lang.String uidb) |
void |
requestBeamBoostMessage(boolean isFirstRequest) |
void |
setHasClickMessage(boolean hasClickMessage) |
void |
setShowSendBoostHot(boolean isShowSendBoostHot) |
void |
showBeamBoostPage(boolean isShow) |
void |
showIntroPage()
展示呼唤介绍页
|
public static final int AUTO_BEAM_FROM_MESSAGE_LIST
public static final int AUTO_BEAM_FROM_INVITE_DIALOG
public void onEnterPage()
onEnterPage
在接口中 IUpLiveBeamBoostManager
public void requestBeamBoostMessage(boolean isFirstRequest)
public void clickBeamBoostButton()
clickBeamBoostButton
在接口中 IUpLiveBeamBoostManager
public void showBeamBoostPage(boolean isShow)
showBeamBoostPage
在接口中 IUpLiveBeamBoostManager
public void onSwitchJoinToNormal(@NonNull androidx.core.util.Consumer<java.lang.Boolean> consumer)
onSwitchJoinToNormal
在接口中 IUpLiveBeamBoostManager
public void onBack()
public void openGift(java.lang.String activityType, java.lang.String activityId, java.lang.String source)
public void showIntroPage()
public void clickCallBoost(java.lang.String vid, java.lang.String desc, @NonNull androidx.core.util.Consumer<java.lang.Boolean> runnable)
public void callBoostRequest(java.lang.String vid, java.lang.String desc, @NonNull androidx.core.util.Consumer<java.lang.Boolean> runnable)
vid
- 视频iddesc
- 话题内容runnable
- 回调public boolean isBoosting()
public void onReceiverBeamBoostInviteMessage(com.app.letter.message.rong.notification.BeamBoostInviteConnectBeamMessage message)
public boolean isShowingInviteDialog()
isShowingInviteDialog
在接口中 IUpLiveBeamBoostManager
public void autoBeam(android.content.Context context, java.lang.String vid, int from)
public void onResume()
onResume
在接口中 IUpLiveBeamBoostManager
public void onPause()
onPause
在接口中 IUpLiveBeamBoostManager
public boolean isRequestSuccess()
public boolean isInsufficientFrequency()
public boolean isShowFirstShowDialog()
public int getLeftCount()
public int getMessageCount()
public void onDestroy()
onDestroy
在接口中 IUpLiveBeamBoostManager
public final void reportClick(int logs)
public final void reportClick(int logs, java.lang.String uidb)
public boolean isShowMessageHot()
public void setShowSendBoostHot(boolean isShowSendBoostHot)
public boolean hasClickMessage()
public void setHasClickMessage(boolean hasClickMessage)