CameraImage

actual data class CameraImage

Android-specific implementation of org.multipaz.compose.camera.CameraImage.

Parameters

imageProxy

the ImageProxy representing the image.

expect class CameraImage

Platform-specific image from camera capture.

actual data class CameraImage

iOS specific implementation of org.multipaz.compose.camera.CameraImage.

Parameters

uiImage

the UIImage from the camera.

actual class CameraImage
actual class CameraImage

Constructors

Link copied to clipboard
constructor(imageProxy: ImageProxy)
constructor(uiImage: ERROR CLASS: Symbol not found for UIImage)
constructor(bitmap: ImageBitmap = ImageBitmap(1, 1))
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
actual val platformHandle: Any?
expect val platformHandle: Any?

Platform-specific handle (e.g. Android ImageProxy, iOS UIImage) or null.

actual val platformHandle: Any?
actual val platformHandle: Any?
actual val platformHandle: Any?
Link copied to clipboard
val uiImage: ERROR CLASS: Symbol not found for UIImage

Functions

Link copied to clipboard

Converts the platform-specific image data into a androidx.compose.ui.graphics.ImageBitmap.