MutableImageWrapper


interface MutableImageWrapper : ImageWrapper

Known direct subclasses
AndroidImage

ImageWrapper implementation that wraps an android.media.Image object.

FakeImage

Fake implementation of MutableImageWrapper for testing.


A mutable extension of ImageWrapper that includes write properties.

Summary

Inherited functions

From java.lang.AutoCloseable
From androidx.camera.common.UnsafeWrapper
T?
<T : Any> unwrapAs(type: Class<T>)

Attempt to unwrap this object into an underlying type.

Inherited properties

From androidx.camera.common.ImageWrapper
Int
open HardwareBuffer?

Returns a handle to the underlying image's hardware buffer, or null if this image does not support hardware buffer.

Int
List<ImagePlane>
Int

Public properties

cropRect

var cropRectRect
See also
setCropRect

dataSpace

var dataSpaceInt
See also
setDataSpace

syncFence

var syncFenceSyncFence?
See also
setFence

timestamp

var timestampLong
See also
setTimestamp