ImageAsset

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

Inheritors

Constructors

Link copied to clipboard
constructor(file: File)
constructor(id: String = UUID.randomUUID().toString(), parentEntryId: String? = null, url: String? = null, name: String, mimeType: String, file: File? = null)

Types

Link copied to clipboard
class CarouselImage(val id: String, val parentEntryId: String? = null, @Json(name = "assetUrl") val url: String?, val name: String = UUID.randomUUID().toString(), val mimeType: String, val description: String? = null) : FileAsset.ImageAsset
Link copied to clipboard
class RichLinkImage(val id: String, val parentEntryId: String? = null, @Json(name = "assetUrl") val url: String?, val name: String = UUID.randomUUID().toString(), val mimeType: String, val description: String? = null) : FileAsset.ImageAsset

Properties

Link copied to clipboard
@Transient
open override var file: File?
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val mimeType: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
@Transient
open override val parentEntryId: String? = null
Link copied to clipboard
open override val url: String? = null

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun isGif(): Boolean
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)