Package org.robolectric.shadows
Class ShadowImageReader
java.lang.Object
org.robolectric.shadows.ShadowImageReader
@Implements(value=android.media.ImageReader.class, looseSignatures=true) public class ShadowImageReader extends Object
Shadow for
ImageReader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowImageReader.ShadowSurfaceImage
Shadow forImage
-
Constructor Summary
Constructors Constructor Description ShadowImageReader()
-
Method Summary
Modifier and Type Method Description protected void
close()
protected Surface
nativeGetSurface()
protected int
nativeImageSetup(Image image)
protected int
nativeImageSetup(Image image, boolean useLegacyImageFormat)
protected int
nativeImageSetup(Object image)
protected void
nativeReleaseImage(Image i)
-
Constructor Details
-
ShadowImageReader
public ShadowImageReader()
-
-
Method Details
-
close
-
nativeImageSetup
-
nativeImageSetup
@Implementation(minSdk=33, maxSdk=33) protected int nativeImageSetup(Image image, boolean useLegacyImageFormat) -
nativeImageSetup
-
nativeReleaseImage
-
nativeGetSurface
-