camera/camera-core/src/main/java/androidx/camera/core/ImageReaderProxys.java
/**
     * Creates an {@link ImageReaderProxy} which uses its own isolated {@link ImageReader}.
     *
     * @param width     of the reader
     * @param height    of the reader
     * @param format    of the reader
     * @param maxImages of the reader
     * @return new {@link ImageReaderProxy} instance
     */
Creates an  ImageReaderProxy which uses its own isolated  ImageReader.
Creates an ImageReaderProxy which uses its own isolated ImageReader .
@NonNull
    public static ImageReaderProxy createIsolatedReader(
            int width, int height, int format, int maxImages) {
        ImageReader imageReader = ImageReader.newInstance(width, height, format, maxImages);
        return new AndroidImageReaderProxy(imageReader);
    }
@ NonNull public static ImageReaderProxy createIsolatedReader ( int width , int height , int format , int maxImages ) { ImageReader imageReader = ImageReader . newInstance ( width , height , format , maxImages ) ; return new AndroidImageReaderProxy ( imageReader ) ; }
Creates an {@link ImageReaderProxy} which uses its own isolated {@link ImageReader}.
Creates an { @link ImageReaderProxy } which uses its own isolated { @link ImageReader } .