MessageListAsset

data class MessageListAsset(val id: AssetId, val name: String?, val mimeType: String, val sizeInBytes: Long, val width: Int?, val height: Int?, val durationMs: Long?, val hasCompleteRemoteData: Boolean, val previewAssetId: AssetId? = null)

Constructors

Link copied to clipboard
constructor(id: AssetId, name: String?, mimeType: String, sizeInBytes: Long, width: Int?, height: Int?, durationMs: Long?, hasCompleteRemoteData: Boolean, previewAssetId: AssetId? = null)
constructor(id: AssetId, name: String?, mimeType: String, sizeInBytes: Long, width: Int?, height: Int?, durationMs: Long?, hasCompleteRemoteData: Boolean)

Preserves the constructor used by previously compiled SDK consumers.

Properties

Link copied to clipboard
val durationMs: Long?
Link copied to clipboard
Link copied to clipboard
val height: Int?
Link copied to clipboard
val id: AssetId
Link copied to clipboard
val mimeType: String
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
val sizeInBytes: Long
Link copied to clipboard
val width: Int?

Functions

Link copied to clipboard
fun copy(id: AssetId = this.id, name: String? = this.name, mimeType: String = this.mimeType, sizeInBytes: Long = this.sizeInBytes, width: Int? = this.width, height: Int? = this.height, durationMs: Long? = this.durationMs, hasCompleteRemoteData: Boolean = this.hasCompleteRemoteData): MessageListAsset

Preserves legacy copy/default-argument descriptors while retaining the optional preview.