public class GiftWorldMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<GiftWorldMsgContent> |
CREATOR |
构造器和说明 |
---|
GiftWorldMsgContent(byte[] data) |
GiftWorldMsgContent(android.os.Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getAnchorId() |
java.lang.String |
getAnchorName() |
java.lang.String |
getGiftId() |
java.lang.String |
getGiftName() |
int |
getGiftStall() |
int |
getPrice() |
java.lang.String |
getSenderId() |
java.lang.String |
getSenderName() |
java.lang.String |
getVideoId() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setAnchorId(java.lang.String anchorId) |
void |
setAnchorName(java.lang.String anchorName) |
void |
setGiftId(java.lang.String giftId) |
void |
setGiftName(java.lang.String giftName) |
void |
setGiftStall(int giftStall) |
void |
setPrice(int price) |
void |
setSenderId(java.lang.String senderId) |
void |
setSenderName(java.lang.String senderName) |
void |
setVideoId(java.lang.String videoId) |
java.lang.String |
toString() |
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<GiftWorldMsgContent> CREATOR
public GiftWorldMsgContent(android.os.Parcel in)
public GiftWorldMsgContent(byte[] data)
public byte[] encode()
encode
在类中 com.live.immsgmodel.BaseContent
public int describeContents()
describeContents
在接口中 android.os.Parcelable
describeContents
在类中 com.live.immsgmodel.BaseContent
public java.lang.String toString()
toString
在类中 java.lang.Object
public void writeToParcel(android.os.Parcel parcel, int i)
writeToParcel
在接口中 android.os.Parcelable
writeToParcel
在类中 com.live.immsgmodel.BaseContent
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 java.lang.String getAnchorId()
public void setAnchorId(java.lang.String anchorId)
public java.lang.String getAnchorName()
public void setAnchorName(java.lang.String anchorName)
public java.lang.String getSenderId()
public void setSenderId(java.lang.String senderId)
public java.lang.String getSenderName()
public void setSenderName(java.lang.String senderName)
public java.lang.String getVideoId()
public void setVideoId(java.lang.String videoId)
public java.lang.String getGiftId()
public void setGiftId(java.lang.String giftId)
public java.lang.String getGiftName()
public void setGiftName(java.lang.String giftName)
public int getPrice()
public void setPrice(int price)
public int getGiftStall()
public void setGiftStall(int giftStall)