public interface

CameraDeviceSurfaceManager.Provider

 androidx.camera.core.impl.CameraDeviceSurfaceManager.Provider

Overview

Interface for deferring creation of a CameraDeviceSurfaceManager.

Summary

Methods
public CameraDeviceSurfaceManagernewInstance(Context context, java.lang.Object cameraManager, java.util.Set<java.lang.String> availableCameraIds)

Creates a new, initialized instance of a CameraDeviceSurfaceManager.

Methods

public CameraDeviceSurfaceManager newInstance(Context context, java.lang.Object cameraManager, java.util.Set<java.lang.String> availableCameraIds)

Creates a new, initialized instance of a CameraDeviceSurfaceManager.

Parameters:

context: the android context
cameraManager: the camera manager object used to query the camera information.
availableCameraIds: current available camera ids.

Returns:

the factory instance