ReferenceMessage

public class ReferenceMessage

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

Constructors

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

Properties

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

Functions

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