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