public class Interact2MsgContent
extends com.live.immsgmodel.BaseContent
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<Interact2MsgContent> |
CREATOR
读取接口,目的是要从Parcel中构造一个实现了Parcelable的类的实例处理。
|
static java.lang.String |
PREVIEW_CLOSE |
static java.lang.String |
PREVIEW_OPEN |
构造器和说明 |
---|
Interact2MsgContent(byte[] data) |
Interact2MsgContent(android.os.Parcel in)
构造函数。
|
Interact2MsgContent(java.lang.String room,
int room_type,
int solution,
java.lang.String hostUid,
java.lang.String hostNick,
java.lang.String hostHead,
java.lang.String guestUid,
int guestAgree) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode() |
java.lang.String |
getGuestUserId() |
java.lang.String |
getHostHeadURL() |
java.lang.String |
getHostNickName() |
java.lang.String |
getHostUserId() |
int |
getIdentity() |
java.lang.String |
getisPreviewing() |
java.lang.String |
getRoomId() |
int |
getRoomType() |
int |
getSolutionId() |
boolean |
isGuestAgreed() |
boolean |
isGuestRefused() |
boolean |
isHostCancelled() |
boolean |
isHostInvitation() |
double |
probabilityOfSend(int roomState)
计算发送概率
|
double |
probabilityOfShow(int roomState)
计算展示概率
|
void |
setIdentity(int identity) |
void |
setisPreviewing(java.lang.String isPreviewing) |
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 java.lang.String PREVIEW_CLOSE
public static final java.lang.String PREVIEW_OPEN
public static final android.os.Parcelable.Creator<Interact2MsgContent> CREATOR
public Interact2MsgContent(java.lang.String room, int room_type, int solution, java.lang.String hostUid, java.lang.String hostNick, java.lang.String hostHead, java.lang.String guestUid, int guestAgree)
public Interact2MsgContent(byte[] data)
public Interact2MsgContent(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 getRoomId()
public java.lang.String getHostUserId()
public java.lang.String getHostNickName()
public java.lang.String getHostHeadURL()
public java.lang.String getGuestUserId()
public boolean isGuestAgreed()
public boolean isGuestRefused()
public boolean isHostInvitation()
public boolean isHostCancelled()
public int getRoomType()
public int getSolutionId()
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 setisPreviewing(java.lang.String isPreviewing)
public java.lang.String getisPreviewing()
public int getIdentity()
public void setIdentity(int identity)