FileAsset

sealed interface FileAsset

Represents a file asset.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
open class ImageAsset(val id: String = UUID.randomUUID().toString(), val parentEntryId: String? = null, val url: String? = null, val name: String, val mimeType: String, var file: File? = null) : Parcelable, FileAsset
Link copied to clipboard
open class PdfAsset(val id: String = UUID.randomUUID().toString(), val parentEntryId: String? = null, val url: String? = null, val name: String = "", val mimeType: String, var file: File? = null) : Parcelable, FileAsset
Link copied to clipboard
@JsonClass(generateAdapter = true)
class UnknownAsset(val id: String = UUID.randomUUID().toString(), val parentEntryId: String? = null, val url: String? = null, val name: String = UUID.randomUUID().toString(), val mimeType: String = GenericMimeType.OCTET_STREAM.value, var file: File? = null, val rawMimeType: String = GenericMimeType.OCTET_STREAM.value) : Serializable, FileAsset

Properties

Link copied to clipboard
abstract var file: File?
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val mimeType: String
Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val parentEntryId: String?
Link copied to clipboard
abstract val url: String?