public class LiveContextImpl
extends java.lang.Object
implements com.kxsimon.video.chat.manager.ILiveContext
| 构造器和说明 |
|---|
LiveContextImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addLiveListener(com.kxsimon.video.chat.manager.ILiveContext.OnLiveStateListener listener)
增加直播状态监听器
|
void |
closeAllPopupPage()
关闭所有的弹出页面
|
com.kxsimon.video.chat.manager.ILiveManager |
getLiveManager(java.lang.String name)
根据name获取对应的管理类
|
boolean |
isLiveFinished()
直播是否结束
|
boolean |
isLiveStarted()
直播是否开始
|
boolean |
isLiveVisible()
直播是否可见
|
void |
removeLiveListener(com.kxsimon.video.chat.manager.ILiveContext.OnLiveStateListener listener)
删除直播状态监听器
|
void |
triggerLiveFinish(boolean normal)
直播结束
|
void |
triggerLiveStart()
直播开始
|
void |
triggerLiveVisibleChange(boolean visible)
直播可见状态改变
|
public com.kxsimon.video.chat.manager.ILiveManager getLiveManager(java.lang.String name)
com.kxsimon.video.chat.manager.ILiveContextgetLiveManager 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void triggerLiveStart()
com.kxsimon.video.chat.manager.ILiveContexttriggerLiveStart 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic boolean isLiveStarted()
com.kxsimon.video.chat.manager.ILiveContextisLiveStarted 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void triggerLiveFinish(boolean normal)
com.kxsimon.video.chat.manager.ILiveContexttriggerLiveFinish 在接口中 com.kxsimon.video.chat.manager.ILiveContextnormal - 是否正常结束public boolean isLiveFinished()
com.kxsimon.video.chat.manager.ILiveContextisLiveFinished 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void triggerLiveVisibleChange(boolean visible)
com.kxsimon.video.chat.manager.ILiveContexttriggerLiveVisibleChange 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic boolean isLiveVisible()
com.kxsimon.video.chat.manager.ILiveContextisLiveVisible 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void addLiveListener(com.kxsimon.video.chat.manager.ILiveContext.OnLiveStateListener listener)
com.kxsimon.video.chat.manager.ILiveContextaddLiveListener 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void removeLiveListener(com.kxsimon.video.chat.manager.ILiveContext.OnLiveStateListener listener)
com.kxsimon.video.chat.manager.ILiveContextremoveLiveListener 在接口中 com.kxsimon.video.chat.manager.ILiveContextpublic void closeAllPopupPage()
com.kxsimon.video.chat.manager.ILiveContextcloseAllPopupPage 在接口中 com.kxsimon.video.chat.manager.ILiveContext