public class RequestChatForbid
extends com.app.user.account.SessionManager.BaseSessionHttpMsg2
限定符和类型 | 类和说明 |
---|---|
static class |
RequestChatForbid.GlobalForbidden
进入视频时,服务端返回该观众是否被全局禁言
|
构造器和说明 |
---|
RequestChatForbid(java.lang.String url,
com.app.common.common.AsyncActionCallback callback) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBaseUrl()
url串
|
protected java.util.Map<java.lang.String,java.lang.String> |
getGetTextParam()
放到httpGet 参数中的参数对
规范接口请求,请把请求参数放在getPostTextParam中!!
|
protected java.lang.String |
getPostTextParam()
要放到post数据域的参数对
|
protected int |
onRawResultContent(java.lang.String content)
扩展接口,返回数据中:
增加一个字段“forbid",表示进入聊天室时是否处于禁言中(整型:0没有禁言,1禁言);
增加一个字段"interval",表示进入聊天室时剩余多少被禁言的时间(单位秒,整型)
新增字段"blacklist",表示是否在播主的黑名单里(整型,1被拉黑,0没有被拉黑)
新增字段"forbid_admin",表示是否被管理员禁言(整型,1被禁言,0没有被禁言)
新增字段"isAdmin",表示自己是否是管理员(整型,1是管理员,0不是管理员)
|
RequestChatForbid |
pack() |
RequestChatForbid |
put(java.lang.String key,
java.lang.String val) |
addSessionHeader, addSignature, beforeRequestStart, build, canSessionWait, checkRiskStatus, fillGetParam, getBatchRetry, getBatchType, getCallBack, getGetTextParamPub, getPostSessionData, getPostTextParamPub, getResultObj, getSessionTag, isBatch, isCanBatch, isCanWait, isReportAvailableStat, log, onCancel, onError, onMsgAddToQueue, onResultContent, setBatch, setBatchRetry, setBatchType, setCallback, setCanBatch, setCanWait, setNeedCheckStatus, setNetworkLiveData, setReportAvailableStat, setResultObject, setSessionTag, show, userGETMethod
report, setListener, setNeedEncrypt, setReport, setSenorsReport
addHeaders, canRetry, cleanHeader, disabledHeartbeat, enabledHeartbeat, enableMultipartMode, getConnectTimeout, getHeaders, getId, getIpFrom, getListener, getMethod, getPriority, getProtocol, getReadTimeout, getRealRetryExecuteCount, getRedirectUrl, getReqBinaryData, getReqTextData, getRetry, getTag, getType, getUrl, isCanceled, isMultipartMode, isNeedHeartbeat, isWrapToImCon, matchMsgId, matchTag, retry, setCanceled, setCanceled, setCanceled, setConnectTimeout, setId, setIpFrom, setMethod, setPriority, setProtocol, setReadTimeout, setRedirectUrl, setReqBinaryData, setReqTextData, setRetry, setTag, setType, setUrl, setWrapToImCon
public RequestChatForbid(java.lang.String url, com.app.common.common.AsyncActionCallback callback)
public java.lang.String getBaseUrl()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getBaseUrl
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
public RequestChatForbid put(java.lang.String key, java.lang.String val)
public RequestChatForbid pack()
protected java.util.Map<java.lang.String,java.lang.String> getGetTextParam()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getGetTextParam
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
protected java.lang.String getPostTextParam()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getPostTextParam
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
protected int onRawResultContent(java.lang.String content)
onRawResultContent
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
content
-