Supported methods of image injection SDK This article list all supported methods for the custom SDK library for Android and iOS/iPadOS image injection. Android methods All methods below are from the camera2 library. CameraManager getCameraIdList() registerAvailabilityCallback(AvailabilityCallback callback, Handler handler) registerAvailabilityCallback(Executor executor, AvailabilityCallback callback) unregisterAvailabilityCallback(AvailabilityCallback callback) registerTorchCallback(TorchCallback callback, Handler handler) registerTorchCallback(Executor executor, TorchCallback callback) unregisterTorchCallback(TorchCallback callback) getCameraCharacteristics(String cameraId) openCamera(String cameraId, StateCallback callback, Handler handler) openCamera(String cameraId, Executor executor, StateCallback callback) setTorchMode(String cameraId, boolean enabled) CameraDevice close() createCaptureSession(List<Surface> outputs,StateCallback callback, Handler handler) createCaptureSessionByOutputConfigurations(List<OutputConfiguration> outputConfigurations, CameraCaptureSession.StateCallback callback, Handler handler) createCaptureSession(SessionConfiguration config) createCaptureRequest(int templateType, Set<String> physicalCameraIdSet) createCaptureRequest(int templateType) createReprocessCaptureRequest(TotalCaptureResult inputResult) isSessionConfigurationSupported(SessionConfiguration sessionConfig) CaptureRequest getTag() getKeys() isReprocess() get(CaptureRequest.Key<T> key) equals(Object other) hashCode() describeContents() writeToParcel(Parcel dest, int flags) CaptureRequest.Builder addTarget(Surface outputTarget) removeTarget(Surface outputTarget) set(CaptureRequest.Key<T> key, T value) get(CaptureRequest.Key<T> key) setPhysicalCameraKey(CaptureRequest.Key<T> key, T value, String physicalCameraId) getPhysicalCameraKey(CaptureRequest.Key<T> key, String physicalCameraId) setTag(Object tag) build() CameraCaptureSession getDevice() prepare(Surface surface) capture(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler) captureSingleRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback) captureBurst(List<CaptureRequest> requests, CameraCaptureSession.CaptureCallback callback, Handler handler) captureBurstRequests(List<CaptureRequest> requests, Executor executor, CameraCaptureSession.CaptureCallback callback) setRepeatingRequest(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler) setSingleRepeatingRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback) setRepeatingBurst(List<CaptureRequest> requests, CameraCaptureSession.CaptureCallback callback, Handler handler) setRepeatingBurstRequests(List<CaptureRequest> requests, Executor executor, CameraCaptureSession.CaptureCallback callback) stopRepeating() abortCaptures() updateOutputConfiguration(OutputConfiguration config) isReprocessable() getInputSurface() close() ImageReader getWidth() getHeight() getImageFormat() getMaxImages() getSurface() acquireLatestImage() acquireNextImage() setOnImageAvailableListener(ImageReader.OnImageAvailableListener listener, Handler handler) close() discardFreeBuffers() finalize() SessionConfiguration getSessionConfiguration() writeToParcel(Parcel dest, int flags) describeContents() equals(Object obj) hashCode() getSessionType() getOutputConfigurations() getStateCallback() getExecutor() setInputConfiguration(InputConfiguration input) getInputConfiguration() setSessionParameters(CaptureRequest params) getSessionParameters() iOS/iPadOS methods Method Functions UIViewController presentViewController:animated:completion: UIImagePickerController didFinishPickingMediaWithInfo: VNDocumentCameraScan title, pageCount, imageOfPageAtIndex: AVCapturePhoto fileDataRepresentation, CGImageRepresentation AVCaptureMovieFileOutput startRecordingToOutputFileURL:recordingDelegate: AVCaptureVideoPreviewLayer _handleNotification:payload:, setBounds: AVCapturePhotoOutput _handleStillImageCompleteNotificationWithPayload:forRequest:, capturePhotoWithSettings:delegate: AVCaptureConnection setVideoOrientation: AVCaptureStillImageOutput captureStillImageAsynchronouslyFromConnection:completionHandler: AVCaptureVideoDataOutput setSampleBufferDelegate:queue: AVCaptureFileOutput captureOutput:didStartRecordingToOutputFileAtURL:fromConnections:, captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error: AVCapturePhotoCaptureDelegate captureOutput:didFinishCaptureForResolvedSettings:error: AVCaptureVideoDataOutputSampleBufferDelegate captureOutput:didDropSampleBuffer:fromConnection:, captureOutput:didOutputSampleBuffer:fromConnection: AVCaptureMetadataOutputObjectsDelegate captureOutput:didOutputMetadataObjects:fromConnection: