Package io.rong.imlib.model
Class MessageResult
-
- All Implemented Interfaces:
public class MessageResult
消息查询结果。
- Since:
5.26.0
-
-
Field Summary
Fields Modifier and Type Field Description public String
messageUId
public Message
message
public IRongCoreEnum.CoreErrorCode
code
public final static Creator<MessageResult>
CREATOR
-
Constructor Summary
Constructors Constructor Description MessageResult(IRongCoreEnum.CoreErrorCode code, String messageUId, Message message)
-
Method Summary
Modifier and Type Method Description String
getMessageUId()
查询的消息 UID Message
getMessage()
查到的消息,如果没有查到,则为 null IRongCoreEnum.CoreErrorCode
getCode()
错误码 void
writeToParcel(Parcel dest, int flags)
int
describeContents()
-
-
Constructor Detail
-
MessageResult
MessageResult(IRongCoreEnum.CoreErrorCode code, String messageUId, Message message)
-
-
Method Detail
-
getMessageUId
String getMessageUId()
查询的消息 UID
-
getMessage
Message getMessage()
查到的消息,如果没有查到,则为 null
-
getCode
IRongCoreEnum.CoreErrorCode getCode()
错误码
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-