-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/packages
#3287Labels
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 specifically
Description
Overview
In the CameraX library, the ImageCapture class is used to take a picture, and thus, will need to be wrapped in the CameraX plugin.
Requirements
The following is a running list of the subclasses, constants, and methods required for adding the ImageCapture class to the CameraX plugin.
Subclasses
ImageCapture.Builder
-
ImageCapture.Builder setCaptureMode(int captureMode) -
ImageCapture.Builder setFlashMode(int flashMode) -
ImageCapture.Builder setTargetRotation(int rotation)
ImageCapture.OnImageCapturedCallback
-
void onCaptureSuccess(ImageProxy image) -
void onError(ImageCaptureException exception)
Constants
-
int FLASH_MODE_AUTO -
int FLASH_MODE_OFF -
int FLASH_MODE_ON
Instance Methods
-
void setFlashMode(int flashMode) -
void setTargetRotation(int rotation) -
void takePicture(...)*
*One implementation will need to be picked. Depending on the choice, ImageCapture.OutputFileOptions may need to be additionally wrapped.
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 specifically