class ClientMessage : Message
A Message type that's sent and received over the P2P network.
senderSessionId and recipientSessionId are optional. Lower layers may reset these properties before they're sent onto the P2P layer.
ClientMessage(type: String, senderSessionId: String?, recipientSessionId: String?, messageBody: String)
A Message type that's sent and received over the P2P network. |
val messageBody: String
the message's (free-form) body |
|
var recipientSessionId: String?
the recipient's session ID |
|
var senderSessionId: String?
the sender's session ID. |
val type: String
the type of the message. Enables casting to a specific subclass. |