ContentDescriptor

Container class for upload of attachment to backend. This class holds both the blob and its metadata.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class DataSource

Describes where the data in a content descriptor originates.

Properties

Link copied to clipboard

Attachment content.

Link copied to clipboard
abstract val fileName: String?

Name of provided in content. Should contain the file name extension corresponding to the mimeType.

Link copied to clipboard
abstract val friendlyName: String?

Friendly name provided in content.

Link copied to clipboard
abstract val mimeType: String?

Mime type of provided content. It's required to properly deserialize the file after upload.