Command message body
EMCmdMessageBody body = new EMCmdMessageBody("delete", null);
com.hyphenate.chat.EMCmdMessageBody.EMCmdMessageBody |
( |
String |
action | ) |
|
Construct command message
- Parameters
-
String com.hyphenate.chat.EMCmdMessageBody.action |
( |
| ) |
|
Get the action
- Returns
- the action
void com.hyphenate.chat.EMCmdMessageBody.deliverOnlineOnly |
( |
boolean |
onlineOnly | ) |
|
Set whether current cmd msg only deliver to online users. False as default, means deliver to all users
- Parameters
-
onlineOnly | Whether to deliver to online users only |
Map<String, String> com.hyphenate.chat.EMCmdMessageBody.getParams |
( |
| ) |
|
boolean com.hyphenate.chat.EMCmdMessageBody.isDeliverOnlineOnly |
( |
| ) |
|
Check whether this cmd msg is delivered to online users.
- Returns
- Boolean, return true means only deliver to online user
String com.hyphenate.chat.EMCmdMessageBody.toString |
( |
| ) |
|
Get the action of cmd message
- Returns
- String
final Parcelable.Creator<EMCmdMessageBody> com.hyphenate.chat.EMCmdMessageBody.CREATOR |
|
static |
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/chat/EMCmdMessageBody.java