Frame

interface Frame

Wrapper over a camera frame.

Types

Link copied to clipboard
sealed class FrameInfo

Represents additional metadata about the frame that may be required for some of the MiSnap features.

Functions

Link copied to clipboard
abstract fun close()

Closes the frame, this operation makes the frame unusable. Frames must be closed after use.

Properties

Link copied to clipboard

Metadata about the frame that may be required for some of the MiSnap features.

Link copied to clipboard
abstract val imageBytes: ByteArray

The byte array containing the image data.

Link copied to clipboard
abstract val imageFormat: Int

The format of the image, represented as an integer.

Link copied to clipboard
abstract val imageSize: Size

The size of the image in pixels.

Link copied to clipboard
abstract val rotationDegrees: Int

The rotation of the image in degrees, relative to the device's natural orientation.