RemoteAttachmentCodec

data class RemoteAttachmentCodec(var contentType: ContentTypeId = ContentTypeRemoteAttachment) : ContentCodec<RemoteAttachment>

Constructors

Link copied to clipboard
constructor(contentType: ContentTypeId = ContentTypeRemoteAttachment)

Functions

Link copied to clipboard
open override fun decode(content: EncodedContent): RemoteAttachment
Link copied to clipboard
open override fun encode(content: RemoteAttachment): EncodedContent
Link copied to clipboard
open override fun fallback(content: RemoteAttachment): String?
Link copied to clipboard
open override fun shouldPush(content: RemoteAttachment): Boolean

Properties

Link copied to clipboard
open override var contentType: ContentTypeId