Text message body
EMTextMessageBody body = new EMTextMessageBody("hello hyphenate chat sdk!");
◆ EMTextMessageBody()
com.hyphenate.chat.EMTextMessageBody.EMTextMessageBody |
( |
String |
msg | ) |
|
Create a text message body
- Parameters
-
◆ getMessage()
String com.hyphenate.chat.EMTextMessageBody.getMessage |
( |
| ) |
|
Get text message body
- Returns
- content
◆ setMessage()
void com.hyphenate.chat.EMTextMessageBody.setMessage |
( |
String |
message | ) |
|
Set text message body's content Note: modify local data only
- Parameters
-
◆ CREATOR
final Parcelable.Creator<EMTextMessageBody> com.hyphenate.chat.EMTextMessageBody.CREATOR |
|
static |
Initial value:
}
}
}
EMTextMessageBody(String msg)
Definition: EMTextMessageBody.java:45
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/chat/EMTextMessageBody.java