|
Agora Java API Reference for Android
|
Public Member Functions | |
| Object | getData () |
| RtmMessageType | getType () |
| RtmMessage (byte[] data, int type) | |
| String | toString () |
| Object io.agora.rtm.RtmMessage.getData | ( | ) |
Retrieves the payload of the message.
Note: If the message payload is a string(you can get message type by
), will return a string. If the message payload is binary, will return a byte array.
| RtmMessageType io.agora.rtm.RtmMessage.getType | ( | ) |
Retrieves the type of the message.
1.8.18