ContentAttachmentData

@JsonClass(generateAdapter = true)
data class ContentAttachmentData(    val size: Long = 0,     val duration: Long? = 0,     val date: Long = 0,     val height: Long? = 0,     val width: Long? = 0,     val exifOrientation: Int = ExifInterface.ORIENTATION_UNDEFINED,     val name: String? = null,     val queryUri: Uri,     val mimeType: String?,     val type: ContentAttachmentData.Type,     val waveform: List<Int>? = null) : Parcelable

Constructors

Link copied to clipboard
fun ContentAttachmentData(    size: Long = 0,     duration: Long? = 0,     date: Long = 0,     height: Long? = 0,     width: Long? = 0,     exifOrientation: Int = ExifInterface.ORIENTATION_UNDEFINED,     name: String? = null,     queryUri: Uri,     mimeType: String?,     type: ContentAttachmentData.Type,     waveform: List<Int>? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@JsonClass(generateAdapter = false)
enum Type : Enum<ContentAttachmentData.Type>

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun getSafeMimeType(): String?
Link copied to clipboard
fun toJsonString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val date: Long = 0
Link copied to clipboard
val duration: Long? = 0
Link copied to clipboard
val exifOrientation: Int
Link copied to clipboard
val height: Long? = 0
Link copied to clipboard
val mimeType: String?
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val queryUri: Uri
Link copied to clipboard
val size: Long = 0
Link copied to clipboard
val type: ContentAttachmentData.Type
Link copied to clipboard
val waveform: List<Int>? = null
Link copied to clipboard
val width: Long? = 0