toggle menu
pexip-android-sdk
0.17.0
jvm
switch theme
search in API
sdk-api
/
com.pexip.sdk.api.infinity
/
DataChannelMessage
/
Message
Message
@
Serializable
@
SerialName
(
value
=
"message"
)
data
class
Message
(
val
body
:
DataChannelMessage.Message.Body
)
:
DataChannelMessage
Members
Constructors
Message
Link copied to clipboard
constructor
(
body
:
DataChannelMessage.Message.Body
)
Types
Body
Link copied to clipboard
@
Serializable
data
class
Body
(
val
type
:
String
,
val
payload
:
String
,
val
senderId
:
ParticipantId
,
val
senderName
:
String
=
""
)
Properties
body
Link copied to clipboard
val
body
:
DataChannelMessage.Message.Body
Inherited functions
encode
To
String
Link copied to clipboard
open
fun
encodeToString
(
)
:
String
Serializes this instance to a JSON string.