# MessageResult

public class MessageResult

消息查询结果。

#### Since

5.26.0

## Constructors

MessageResult
Link copied to clipboard
public void MessageResult(IRongCoreEnum.CoreErrorCode code, String messageUId, Message message)

## Properties

code
Link copied to clipboard
public IRongCoreEnum.CoreErrorCode code
错误码
CREATOR
Link copied to clipboard
public final static Creator<MessageResult> CREATOR
message
Link copied to clipboard
public Message message
查到的消息
messageUId
Link copied to clipboard
public String messageUId
查询的消息 UID

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getCode
Link copied to clipboard
public IRongCoreEnum.CoreErrorCode getCode()
错误码
getMessage
Link copied to clipboard
public Message getMessage()
查到的消息，如果没有查到，则为 null
getMessageUId
Link copied to clipboard
public String getMessageUId()
查询的消息 UID
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)