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