# ReferenceMessage

public class ReferenceMessage

引用消息 (支持 文本，图片，文件，图文) Created by JL on 2018/3/28.

## Constructors

ReferenceMessage
Link copied to clipboard
public void ReferenceMessage(Array<byte> data)
将数据解码
public void ReferenceMessage(Parcel in)

## Types

ReferenceMessageStatus
Link copied to clipboard
public enum ReferenceMessageStatus
被引用消息的状态。

## Properties

CREATOR
Link copied to clipboard
public final static Creator<ReferenceMessage> CREATOR
referMsgStatus
Link copied to clipboard
public ReferenceMessage.ReferenceMessageStatus referMsgStatus
referMsgUid
Link copied to clipboard
public String referMsgUid

## Functions

buildSendText
Link copied to clipboard
public ReferenceMessage buildSendText(String content)
describeContents
Link copied to clipboard
public int describeContents()
encode
Link copied to clipboard
public Array<byte> encode()
getEditSendText
Link copied to clipboard
public String getEditSendText()
getLocalPath
Link copied to clipboard
public Uri getLocalPath()
getMediaUrl
Link copied to clipboard
public Uri getMediaUrl()
getName
Link copied to clipboard
public String getName()
getReferenceContent
Link copied to clipboard
public MessageContent getReferenceContent()
getReferMsgStatus
Link copied to clipboard
public ReferenceMessage.ReferenceMessageStatus getReferMsgStatus()
getReferMsgUid
Link copied to clipboard
public String getReferMsgUid()
getSearchableWord
Link copied to clipboard
public List<String> getSearchableWord()
搜索引用消息
getUserId
Link copied to clipboard
public String getUserId()
obtainMessage
Link copied to clipboard
public static ReferenceMessage obtainMessage(String userId, MessageContent referMsg)
public static ReferenceMessage obtainMessage(String userId, MessageContent referMsg, String referMsgUid)
构造引用消息
setContent
Link copied to clipboard
public void setContent(MessageContent referMsg)
setEditSendText
Link copied to clipboard
public void setEditSendText(String referenceContent)
setLocalPath
Link copied to clipboard
public void setLocalPath(Uri mLocalPath)
setMediaUrl
Link copied to clipboard
public void setMediaUrl(Uri mMediaUrl)
setName
Link copied to clipboard
public void setName(String name)
setReferMsgStatus
Link copied to clipboard
public void setReferMsgStatus(ReferenceMessage.ReferenceMessageStatus referMsgStatus)
setReferMsgUid
Link copied to clipboard
public void setReferMsgUid(String referMsgUid)
setUserId
Link copied to clipboard
public void setUserId(String userId)
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)