create a command message
EMCmdMessageBody body = new EMCmdMessageBody("delete", null);
◆ EMCmdMessageBody()
com.hyphenate.chat.EMCmdMessageBody.EMCmdMessageBody |
( |
String |
action | ) |
|
◆ action()
String com.hyphenate.chat.EMCmdMessageBody.action |
( |
| ) |
|
get the action
- Returns
- the action
◆ deliverOnlineOnly()
void com.hyphenate.chat.EMCmdMessageBody.deliverOnlineOnly |
( |
boolean |
onlineOnly | ) |
|
Set current cmd msg only deliver to online users. false as default, means deliver to all users.
- Parameters
-
◆ getParams()
Map< String, String > com.hyphenate.chat.EMCmdMessageBody.getParams |
( |
| ) |
|
◆ isDeliverOnlineOnly()
boolean com.hyphenate.chat.EMCmdMessageBody.isDeliverOnlineOnly |
( |
| ) |
|
Check whether this cmd msg is delivered to online users.
- Returns
◆ CREATOR
final Parcelable.Creator<EMCmdMessageBody> com.hyphenate.chat.EMCmdMessageBody.CREATOR |
|
static |
Initial value:
}
}
}
EMCmdMessageBody(String action)
Definition: EMCmdMessageBody.java:48
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/chat/EMCmdMessageBody.java