public class ForbidSpeakMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<ForbidSpeakMsgContent> |
CREATOR
读取接口,目的是要从Parcel中构造一个实现了Parcelable的类的实例处理。
|
构造器和说明 |
---|
ForbidSpeakMsgContent(byte[] data) |
ForbidSpeakMsgContent(android.os.Parcel in)
构造函数。
|
ForbidSpeakMsgContent(java.lang.String name,
java.lang.String slogo,
java.lang.String uid,
java.lang.String vv,
int bid,
int role,
java.lang.String adminUID,
java.lang.String adminName,
int isRoomRemove) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getAdminName() |
java.lang.String |
getAdminUid() |
int |
getCheckedByServer() |
int |
getForbid() |
int |
getIsRemoveRoom() |
java.lang.String |
getLogo() |
java.lang.String |
getName() |
int |
getRole() |
java.lang.String |
getUid() |
java.lang.String |
getVid() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setAdminName(java.lang.String adminName) |
void |
setAdminUid(java.lang.String adminUid) |
void |
setCheckedByServer(int checkedByServer) |
void |
setForbid(int bid) |
void |
setIsRemoveRoom(int isRemoveRoom) |
void |
setLogo(java.lang.String sLogo) |
void |
setName(java.lang.String name) |
void |
setRole(int role) |
void |
setUid(java.lang.String uid) |
void |
setVid(java.lang.String vv) |
void |
writeToParcel(android.os.Parcel parcel,
int i) |
getAdmin, getCommonData, getCUUIDFromJson, getIsMine, isNewUser, readCommonDataFromJson, readCommonDataFromParcel, setAdmin, setCommonData, setFamilyBadgeUrl, setFanLevel, setGuardType, setIdScore, setIsMine, setIsNewUser, setPrerogative, setRandomCommonDataForTest, setRewardRight, setRewardRightByIndex, setTagBean, setUserId, setVipLevelInfo, setWatchSource, setWatchSource2, writeCommonDataToJson, writeCommonDataToParcel
public static final android.os.Parcelable.Creator<ForbidSpeakMsgContent> CREATOR
public ForbidSpeakMsgContent(android.os.Parcel in)
in
- 初始化传入的 Parcel。public ForbidSpeakMsgContent(java.lang.String name, java.lang.String slogo, java.lang.String uid, java.lang.String vv, int bid, int role, java.lang.String adminUID, java.lang.String adminName, int isRoomRemove)
public ForbidSpeakMsgContent(byte[] data)
public byte[] encode()
encode
在类中 com.live.immsgmodel.BaseContent
public int describeContents()
describeContents
在接口中 android.os.Parcelable
describeContents
在类中 com.live.immsgmodel.BaseContent
public void writeToParcel(android.os.Parcel parcel, int i)
writeToParcel
在接口中 android.os.Parcelable
writeToParcel
在类中 com.live.immsgmodel.BaseContent
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getLogo()
public void setLogo(java.lang.String sLogo)
public void setUid(java.lang.String uid)
public java.lang.String getUid()
public void setVid(java.lang.String vv)
public java.lang.String getVid()
public void setForbid(int bid)
public int getForbid()
public int getCheckedByServer()
public void setCheckedByServer(int checkedByServer)
public double probabilityOfSend(int roomState)
com.live.immsgmodel.IRoomStateCallback
probabilityOfSend
在接口中 com.live.immsgmodel.IRoomStateCallback
probabilityOfSend
在类中 com.live.immsgmodel.BaseContent
roomState
- 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public double probabilityOfShow(int roomState)
com.live.immsgmodel.IRoomStateCallback
probabilityOfShow
在接口中 com.live.immsgmodel.IRoomStateCallback
probabilityOfShow
在类中 com.live.immsgmodel.BaseContent
roomState
- 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public int getRole()
public void setRole(int role)
public java.lang.String getAdminName()
public void setAdminName(java.lang.String adminName)
public java.lang.String getAdminUid()
public void setAdminUid(java.lang.String adminUid)
public int getIsRemoveRoom()
public void setIsRemoveRoom(int isRemoveRoom)