library
Toggle table of contents
4.12.0-dev
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
library
library
/
org.xmtp.android.library.codecs
/
ReactionV2Codec
Reaction
V2Codec
data
class
ReactionV2Codec
(
var
contentType
:
ContentTypeId
=
ContentTypeReactionV2
)
:
ContentCodec
<
Reaction
>
Members
Constructors
Reaction
V2Codec
Link copied to clipboard
constructor
(
contentType
:
ContentTypeId
=
ContentTypeReactionV2
)
Properties
content
Type
Link copied to clipboard
open
override
var
contentType
:
ContentTypeId
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