public class EZLeaveMessage
extends java.lang.Object
Constructor and Description |
---|
EZLeaveMessage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCloudServerUrl()
Get cloud service url
|
int |
getContentType()
Get message type
|
java.util.Calendar |
getCreateTime()
Get time of creation
|
java.lang.String |
getDeviceName()
Get device name
|
java.lang.String |
getDeviceSerial()
Get device serial No.
|
int |
getDuration()
Get message duration (unit: s)
|
java.lang.String |
getInternalCreateTime()
Get time of creation
|
java.lang.String |
getInternalUpdateTime()
Get time of update
|
int |
getMsgDirection()
Receive or reply
|
java.lang.String |
getMsgId()
Get message ID
|
java.lang.String |
getMsgPicUrl()
Get message cover snapshot address
|
int |
getMsgStatus()
Get message status
|
int |
getSenderName()
Get sender name
|
int |
getSenderType()
Get sender type
|
java.util.Calendar |
getUpdateTime()
Get time of update
|
void |
setCloudServerUrl(java.lang.String cloudServerUrl)
Set cloud service url
|
void |
setContentType(int contentType)
Set message type
|
void |
setCreateTime(java.util.Calendar createTime)
Set time of creation
|
void |
setDeviceName(java.lang.String deviceName)
Set device name
|
void |
setDeviceSerial(java.lang.String deviceSerial)
Set device serial No.
|
void |
setDuration(int duration)
Set message duration (unit: s)
|
void |
setMsgDirection(int msgDirection)
Receive or reply
|
void |
setMsgId(java.lang.String msgId)
Set messageID
|
void |
setMsgPicUrl(java.lang.String msgPicUrl)
Set message cover snapshot address
|
void |
setMsgStatus(int msgStatus)
Set message status
|
void |
setSenderName(int senderName)
Set sender name
|
void |
setSenderType(int senderType)
Get sender type
|
void |
setUpdateTime(java.util.Calendar updateTime)
Set time of update
|
public java.lang.String getMsgId()
public void setMsgId(java.lang.String msgId)
msgId
- messageIDpublic java.lang.String getDeviceSerial()
public void setDeviceSerial(java.lang.String deviceSerial)
deviceSerial
- device serial No.public int getDuration()
public void setDuration(int duration)
duration
- message duration (unit: s)public int getContentType()
public void setContentType(int contentType)
contentType
- message type: 1- voice message 2- video messagepublic int getMsgDirection()
public void setMsgDirection(int msgDirection)
msgDirection
- 1 - receive by user (send by device) 2 - reply by user (sent by client)public int getSenderType()
public void setSenderType(int senderType)
senderType
- 1–F1 device 2– web client 3– iPhone client 4– iPad client 5– android client 6– androidPad clientpublic int getSenderName()
public void setSenderName(int senderName)
senderName
- sender namepublic java.lang.String getMsgPicUrl()
public void setMsgPicUrl(java.lang.String msgPicUrl)
msgPicUrl
- message cover snapshot addresspublic int getMsgStatus()
public void setMsgStatus(int msgStatus)
msgStatus
- 0- not read, 1- read, 2- deletepublic java.lang.String getDeviceName()
public void setDeviceName(java.lang.String deviceName)
deviceName
- device namepublic java.lang.String getInternalCreateTime()
public java.lang.String getInternalUpdateTime()
public java.util.Calendar getCreateTime()
public void setCreateTime(java.util.Calendar createTime)
createTime
- time of creationCalendarpublic java.util.Calendar getUpdateTime()
public void setUpdateTime(java.util.Calendar updateTime)
updateTime
- time of update calendarpublic java.lang.String getCloudServerUrl()
public void setCloudServerUrl(java.lang.String cloudServerUrl)
cloudServerUrl
- cloud service url