public class InteractSuccessMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<InteractSuccessMsgContent> |
CREATOR
读取接口,目的是要从Parcel中构造一个实现了Parcelable的类的实例处理。
|
构造器和说明 |
---|
InteractSuccessMsgContent() |
InteractSuccessMsgContent(byte[] data) |
InteractSuccessMsgContent(android.os.Parcel in)
构造函数。
|
InteractSuccessMsgContent(java.lang.String uid,
java.lang.String nickName,
java.lang.String faceUrl,
int level,
int contribution,
int verify_type,
int currentExp,
double interviewx,
double interviewy,
double interviewwidth,
double interviewheight,
double streamwidth,
double streamheight) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
int |
getContribution() |
int |
getCurrentExp() |
java.lang.String |
getFaceUrl() |
double |
getInterviewHeight() |
double |
getInterviewWidth() |
double |
getInterviewX() |
double |
getInterviewY() |
int |
getLevel() |
java.lang.String |
getNickName() |
double |
getStreamHeight() |
double |
getStreamWidth() |
java.lang.String |
getUid() |
int |
getVerifyType() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
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<InteractSuccessMsgContent> CREATOR
public InteractSuccessMsgContent()
public InteractSuccessMsgContent(java.lang.String uid, java.lang.String nickName, java.lang.String faceUrl, int level, int contribution, int verify_type, int currentExp, double interviewx, double interviewy, double interviewwidth, double interviewheight, double streamwidth, double streamheight)
public InteractSuccessMsgContent(byte[] data)
public InteractSuccessMsgContent(android.os.Parcel in)
in
- 初始化传入的 Parcel。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 getUid()
public java.lang.String getNickName()
public java.lang.String getFaceUrl()
public int getLevel()
public int getContribution()
public int getVerifyType()
public int getCurrentExp()
public double getInterviewX()
public double getInterviewY()
public double getInterviewWidth()
public double getInterviewHeight()
public double getStreamWidth()
public double getStreamHeight()
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]。