AssetPreviewEntity

data class AssetPreviewEntity(val mimeType: String, val size: Long, val width: Int, val height: Int, val id: String, val domain: String?, val token: String?, val otrKey: ByteArray, val sha256: ByteArray, val encryptionAlgorithm: String?)

Independently addressable preview metadata. Binary columns contain only cryptographic material.

Constructors

Link copied to clipboard
constructor(mimeType: String, size: Long, width: Int, height: Int, id: String, domain: String?, token: String?, otrKey: ByteArray, sha256: ByteArray, encryptionAlgorithm: String?)

Properties

Link copied to clipboard
val domain: String?
Link copied to clipboard
val encryptionAlgorithm: String?
Link copied to clipboard
val height: Int
Link copied to clipboard
val id: String
Link copied to clipboard
val mimeType: String
Link copied to clipboard
val otrKey: ByteArray
Link copied to clipboard
val sha256: ByteArray
Link copied to clipboard
val size: Long
Link copied to clipboard
val token: String?
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int