Sample

data class Sample(val timestampMillis: Long, val image: Image, val camera: Camera? = null, val deviceTiltAngles: TiltAngles? = null, totalCaptureResult: TotalCaptureResult? = null)

Sample (or snapshot) at a single point in time.

Constructors

Link copied to clipboard
constructor(timestampMillis: Long, image: Image, camera: Camera? = null, deviceTiltAngles: TiltAngles? = null, totalCaptureResult: TotalCaptureResult? = null)

Properties

Link copied to clipboard
val camera: Camera? = null

Camera sensor and frame properties. Providing this data helps to improve the product. It has no functional impact on the component.

Link copied to clipboard
val deviceTiltAngles: TiltAngles? = null

Tilt angles of the device.

Link copied to clipboard
Link copied to clipboard

Timestamp of the image in milliseconds.