Message received from participants in a real-time room, which is passed to the client.
Constant Summary
int | RELIABLE | |
int | UNRELIABLE |
Inherited Constant Summary
Field Summary
public static final Creator<RealTimeMessage> | CREATOR |
Public Method Summary
int | |
byte[] | |
String | |
boolean | |
void |
writeToParcel(Parcel parcel, int
flag)
|
Inherited Method Summary
Constants
public static final int RELIABLE
Constant Value: 1
public static final int UNRELIABLE
Constant Value: 0
Fields
public static final Creator<RealTimeMessage> CREATOR
Public Methods
public int describeContents ()
public byte[] getMessageData ()
Returns
- The message data.
public String getSenderParticipantId ()
Returns
- The participant ID of the message sender.
public boolean isReliable ()
Returns
- Whether this message was sent over a reliable channel.