public class AdminManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
AdminManager.MsgType |
限定符和类型 | 方法和说明 |
---|---|
void |
addToAdminList(java.lang.String adminUid,
java.lang.String videoId,
boolean isSuper,
com.app.common.common.AsyncActionCallback callback)
设置管理员
|
void |
forbidSpeak(java.lang.String forbidUid,
java.lang.String videoId,
int type,
com.app.common.common.AsyncActionCallback callback)
禁言/解禁 操作
|
void |
getAdminList(com.app.common.common.AsyncActionCallback callback)
获取指定主播的管理员列表
|
static AdminManager |
getInstance() |
void |
removeFromAdminList(java.lang.String adminUid,
java.lang.String videoId,
com.app.common.common.AsyncActionCallback callback)
取消设置管理员
|
public static AdminManager getInstance()
public void addToAdminList(java.lang.String adminUid, java.lang.String videoId, boolean isSuper, com.app.common.common.AsyncActionCallback callback)
adminUid
- videoId
- callback
- public void removeFromAdminList(java.lang.String adminUid, java.lang.String videoId, com.app.common.common.AsyncActionCallback callback)
adminUid
- videoId
- callback
- public void getAdminList(com.app.common.common.AsyncActionCallback callback)
callback
- public void forbidSpeak(java.lang.String forbidUid, java.lang.String videoId, int type, com.app.common.common.AsyncActionCallback callback)
forbidUid
- videoId
- type
- 1禁言 2解除禁言callback
-