public class ChestKeyMsgContent
extends com.live.immsgmodel.BaseContent
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<ChestKeyMsgContent> |
CREATOR |
| 构造器和说明 |
|---|
ChestKeyMsgContent() |
ChestKeyMsgContent(byte[] data) |
ChestKeyMsgContent(android.os.Parcel in) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
byte[] |
encode() |
int |
getKeyCount() |
java.lang.String |
getUserId() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setKeyCount(int keyCount) |
void |
setUserId(java.lang.String userId) |
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, setVipLevelInfo, setWatchSource, setWatchSource2, writeCommonDataToJson, writeCommonDataToParcelpublic static final android.os.Parcelable.Creator<ChestKeyMsgContent> CREATOR
public ChestKeyMsgContent(android.os.Parcel in)
public ChestKeyMsgContent()
public ChestKeyMsgContent(byte[] data)
public byte[] encode()
encode 在类中 com.live.immsgmodel.BaseContentpublic int describeContents()
describeContents 在接口中 android.os.ParcelabledescribeContents 在类中 com.live.immsgmodel.BaseContentpublic void writeToParcel(android.os.Parcel parcel,
int i)
writeToParcel 在接口中 android.os.ParcelablewriteToParcel 在类中 com.live.immsgmodel.BaseContentpublic double probabilityOfSend(int roomState)
com.live.immsgmodel.IRoomStateCallbackprobabilityOfSend 在接口中 com.live.immsgmodel.IRoomStateCallbackprobabilityOfSend 在类中 com.live.immsgmodel.BaseContentroomState - 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public double probabilityOfShow(int roomState)
com.live.immsgmodel.IRoomStateCallbackprobabilityOfShow 在接口中 com.live.immsgmodel.IRoomStateCallbackprobabilityOfShow 在类中 com.live.immsgmodel.BaseContentroomState - 精简模式。roomState=0时,精简模式关闭;roomState取值[0, 10000]。public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
setUserId 在类中 com.live.immsgmodel.BaseContentpublic int getKeyCount()
public void setKeyCount(int keyCount)