library
androidJvm
library
/
org.xmtp.android.library.codecs
/
ReplyCodec
Reply
Codec
data
class
ReplyCodec
(
var
contentType
:
ContentTypeId
=
ContentTypeReply
)
:
ContentCodec
<
Reply
>
Members
Constructors
Reply
Codec
Link copied to clipboard
constructor
(
contentType
:
ContentTypeId
=
ContentTypeReply
)
Functions
decode
Link copied to clipboard
open
override
fun
decode
(
content
:
EncodedContent
)
:
Reply
encode
Link copied to clipboard
open
override
fun
encode
(
reply
:
Reply
)
:
EncodedContent
fallback
Link copied to clipboard
open
override
fun
fallback
(
content
:
Reply
)
:
String
?
should
Push
Link copied to clipboard
open
override
fun
shouldPush
(
content
:
Reply
)
:
Boolean
Properties
content
Type
Link copied to clipboard
open
override
var
contentType
:
ContentTypeId