CapturedImage

data class CapturedImage(val jpegBytes: ByteArray, val timestampMs: Long = nowMillis(), val width: Int? = null, val height: Int? = null, val rotationDegrees: Int? = null, val sourceModel: GlassesModel)

Constructors

Link copied to clipboard
constructor(jpegBytes: ByteArray, timestampMs: Long = nowMillis(), width: Int? = null, height: Int? = null, rotationDegrees: Int? = null, sourceModel: GlassesModel)

Properties

Link copied to clipboard
val height: Int?

Optional vendor-reported image height in pixels.

Link copied to clipboard

JPEG-encoded image bytes.

Link copied to clipboard

Optional vendor-reported clockwise image rotation in degrees.

Link copied to clipboard

Adapter model that produced this image.

Link copied to clipboard

Capture timestamp in epoch milliseconds.

Link copied to clipboard
val width: Int?

Optional vendor-reported image width in pixels.

Functions

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