|
| EMCmdMessageBody (String action) |
|
| EMCmdMessageBody (String action, Map< String, String > params) |
|
String | action () |
|
Map< String, String > | getParams () |
|
boolean | isDeliverOnlineOnly () |
|
void | deliverOnlineOnly (boolean onlineOnly) |
|
String | toString () |
|
int | describeContents () |
|
void | writeToParcel (Parcel dest, int flags) |
|
boolean | equals (Object o) |
|
int | hashCode () |
|
create a command message
EMCmdMessageBody body = new EMCmdMessageBody("delete", null);
com.hyphenate.chat.EMCmdMessageBody.EMCmdMessageBody |
( |
String |
action | ) |
|
String com.hyphenate.chat.EMCmdMessageBody.action |
( |
| ) |
|
get the action
- Returns
- the action
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
-
boolean com.hyphenate.chat.EMCmdMessageBody.isDeliverOnlineOnly |
( |
| ) |
|
Check whether this cmd msg is delivered to online users.
- Returns
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