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
/
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
)
Properties
content
Type
Link copied to clipboard
open
override
var
contentType
:
ContentTypeId
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