|
| 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 () |
|
创建一个命令消息
EMCmdMessageBody body = new EMCmdMessageBody("delete", null);
- 版本
- 2.0
◆ EMCmdMessageBody()
com.hyphenate.chat.EMCmdMessageBody.EMCmdMessageBody |
( |
String |
action | ) |
|
◆ action()
String com.hyphenate.chat.EMCmdMessageBody.action |
( |
| ) |
|
◆ deliverOnlineOnly()
void com.hyphenate.chat.EMCmdMessageBody.deliverOnlineOnly |
( |
boolean |
onlineOnly | ) |
|
设置当前cmd msg是否只投递在线用户,默认为false,即投递所有用户
◆ isDeliverOnlineOnly()
boolean com.hyphenate.chat.EMCmdMessageBody.isDeliverOnlineOnly |
( |
| ) |
|
◆ CREATOR
final Parcelable.Creator<EMCmdMessageBody> com.hyphenate.chat.EMCmdMessageBody.CREATOR |
|
static |
该类的文档由以下文件生成:
- hyphenatechatsdk/src/com/hyphenate/chat/EMCmdMessageBody.java