public class UserFirstFollowMsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<UserFirstFollowMsgContent> |
CREATOR |
构造器和说明 |
---|
UserFirstFollowMsgContent() |
UserFirstFollowMsgContent(byte[] data) |
UserFirstFollowMsgContent(android.os.Parcel in)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getName() |
java.lang.String |
getUid() |
java.lang.String |
getUrl() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setName(java.lang.String name) |
void |
setUid(java.lang.String uid) |
void |
setUrl(java.lang.String url) |
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<UserFirstFollowMsgContent> CREATOR
public UserFirstFollowMsgContent()
public UserFirstFollowMsgContent(android.os.Parcel in)
in
- 初始化传入的 Parcel。public UserFirstFollowMsgContent(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 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 getName()
public void setName(java.lang.String name)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.String getUid()
public void setUid(java.lang.String uid)