public class Action extends BaseMessage
Action class provides information about the action performedcategory, conversationId, deletedAt, deletedBy, deliveredAt, deliveredToMeAt, editedAt, editedBy, id, metadata, muid, readAt, readByMeAt, receiver, receiverType, receiverUid, sender, sentAt, TABLE_CONVERSATIONS, type, updatedAt| Constructor and Description | 
|---|
Action()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
static Action | 
fromJson(JSONObject jsonObject)  | 
AppEntity | 
getActioBy()
Get Entity(User/Group) details which performed the action 
 | 
java.lang.String | 
getAction()
Get action which is performed 
 | 
AppEntity | 
getActionFor()
Get details of the Entity(User/Group) that the action was performed for 
 | 
AppEntity | 
getActionOn()
Get details of the Entity(User/Group) that the action was performed for 
 | 
java.lang.String | 
getMessage()
Get Default action message provided by CometChat SDK 
 | 
java.lang.String | 
getNewScope()
Get new scope of the user 
 | 
java.lang.String | 
getOldScope()
Get old scope of the user 
 | 
java.lang.String | 
getRawData()
Get raw JSON data in string form 
 | 
int | 
hashCode()  | 
void | 
setActioBy(AppEntity actioBy)  | 
void | 
setAction(java.lang.String action)  | 
void | 
setActionFor(AppEntity actionFor)  | 
void | 
setActionOn(AppEntity actionOn)  | 
void | 
setMessage(java.lang.String message)  | 
void | 
setNewScope(java.lang.String newScope)  | 
void | 
setOldScope(java.lang.String oldScope)  | 
void | 
setRawData(java.lang.String rawData)  | 
java.lang.String | 
toString()  | 
compareTo, getCategory, getConversationId, getDeletedAt, getDeletedBy, getDeliveredAt, getDeliveredToMeAt, getEditedAt, getEditedBy, getId, getMessagesFromJSON, getMetadata, getMuid, getReadAt, getReadByMeAt, getReceiver, getReceiverType, getReceiverUid, getSender, getSentAt, getType, getUpdatedAt, setCategory, setConversationId, setDeletedAt, setDeletedBy, setDeliveredAt, setDeliveredToMeAt, setEditedAt, setEditedBy, setId, setMetadata, setMuid, setReadAt, setReadByMeAt, setReceiver, setReceiverType, setReceiverUid, setSender, setSentAt, setType, setUpdatedAtpublic AppEntity getActioBy()
AppEntity classAppEntitypublic void setActioBy(AppEntity actioBy)
public AppEntity getActionFor()
AppEntity classAppEntitypublic void setActionFor(AppEntity actionFor)
public AppEntity getActionOn()
AppEntity classAppEntitypublic void setActionOn(AppEntity actionOn)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getRawData()
public void setRawData(java.lang.String rawData)
public java.lang.String getAction()
public void setAction(java.lang.String action)
public java.lang.String getOldScope()
public void setOldScope(java.lang.String oldScope)
public java.lang.String getNewScope()
public void setNewScope(java.lang.String newScope)
public static Action fromJson(JSONObject jsonObject)
public int hashCode()
hashCode in class BaseMessagepublic boolean equals(java.lang.Object obj)
equals in class BaseMessagepublic java.lang.String toString()
toString in class BaseMessage