Thumbnail

data class Thumbnail(val fileName: String, val mediaType: MediaType, val thumbnail: ByteArray, val dateTime: LocalDateTime?) : MediaItem

A class which represents the thumbnail for a new picture created on the remote device.

Parameters

fileName

The fileName of this media item

mediaType

The MediaType this Thumbnail is referencing

thumbnail

The thumbnail data of the media as ByteArray

dateTime

The LocalDateTime of when this item has been recorded

See also

Constructors

Link copied to clipboard
constructor(fileName: String, mediaType: MediaType, thumbnail: ByteArray, dateTime: LocalDateTime?)

Properties

Link copied to clipboard
open override val dateTime: LocalDateTime?
Link copied to clipboard
open override val fileName: String
Link copied to clipboard
open override val mediaType: MediaType
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)