-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Overview
In the CameraX library, the ProcessCameraProvider class is used to bind the various CameraX use cases to the lifecycle of any lifecycle-aware component. Thus, this class is essential to initiating any camera use case (taking a picture, taking a video, etc.) in the CameraX plugin.
Requirements
The following is a running list of the methods required for adding the ProcessCameraProvider class to the CameraX plugin.
Instance Methods
-
Camera bindToLifecycle(...) -
List<CameraInfo> getAvailableCameraInfos() -
boolean isBound(UseCase useCase) -
void unbind(UseCase... useCases) -
void unbindAll()
Static Methods
[ ]Didn't need this for feature parity.static void configureInstance(CameraXConfig cameraXConfig)(depends on [camera] Add CameraXConfig class to CameraX plugin #111134)-
static ListenableFuture<ProcessCameraProvider> getInstance(Context context)
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Type
Projects
Status
Done