ImageViewData

data class ImageViewData(val uri: String, val byteArray: ByteArray, val date: String, val geoLocation: GeoLocationViewData)

The data necessary for displaying the Image on the View.

Constructors

Link copied to clipboard
constructor(uri: String, byteArray: ByteArray, date: String, geoLocation: GeoLocationViewData)

Properties

Link copied to clipboard

the ByteArray containing the raw image pixel data.

Link copied to clipboard

the milliseconds since epoch (1970-01-01T00:00:00Z) of when the photo was taken.

Link copied to clipboard

the coordinates of where the photo was taken.

Link copied to clipboard
val uri: String

the Android string uri of the image.

Functions

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

Checks if two ImageViewData objects are equal. Two images are considered equal if they have the same:

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code for this object based on its member variables.