public class RecommendGoodsMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 类和说明 |
---|---|
static class |
RecommendGoodsMsgContent.SpecsBean |
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<RecommendGoodsMsgContent> |
CREATOR |
构造器和说明 |
---|
RecommendGoodsMsgContent(byte[] data) |
RecommendGoodsMsgContent(android.os.Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
org.json.JSONObject |
convertyToJsonObject() |
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getCurprice() |
java.lang.String |
getCurrency() |
java.lang.String |
getGid() |
java.lang.String |
getImg() |
java.lang.String |
getOldprice() |
java.util.List<RecommendGoodsMsgContent.SpecsBean> |
getSpecs() |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
java.lang.String |
getVid() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setCurprice(java.lang.String curprice) |
void |
setCurrency(java.lang.String currency) |
void |
setGid(java.lang.String gid) |
void |
setImg(java.lang.String img) |
void |
setOldprice(java.lang.String oldprice) |
void |
setSpecs(java.util.List<RecommendGoodsMsgContent.SpecsBean> specs) |
void |
setTitle(java.lang.String title) |
void |
setUrl(java.lang.String url) |
void |
setVid(java.lang.String vid) |
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<RecommendGoodsMsgContent> CREATOR
public RecommendGoodsMsgContent(android.os.Parcel in)
public RecommendGoodsMsgContent(byte[] data)
public java.util.List<RecommendGoodsMsgContent.SpecsBean> getSpecs()
public void setSpecs(java.util.List<RecommendGoodsMsgContent.SpecsBean> specs)
public byte[] encode()
encode
在类中 com.live.immsgmodel.BaseContent
public org.json.JSONObject convertyToJsonObject()
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 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 void setCurprice(java.lang.String curprice)
public java.lang.String getCurprice()
public java.lang.String getGid()
public void setGid(java.lang.String gid)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getImg()
public void setImg(java.lang.String img)
public java.lang.String getCurrency()
public void setCurrency(java.lang.String currency)
public java.lang.String getOldprice()
public void setOldprice(java.lang.String oldprice)
public java.lang.String getVid()
public void setVid(java.lang.String vid)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)