-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/plugins
#7046Labels
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 Preview class is used to provide a camera preview stream for display, and thus, will need to be wrapped in the CameraX plugin.
Requirements
The following is a running list of the subclasses and methods required for adding the Preview class to the CameraX plugin.
Subclasses
Preview.Builder
[ ](not needed upon further research)Preview.Builder setTargetRotation(int rotation)
Preview.SurfaceProvider
-
(used only on the native side)void onSurfaceRequested(SurfaceRequest request)
Instance Methods
-
void setSurfaceProvider(...)* -
(used only on the native side)void setTargetRotation(int targetRotation)
*One implementation will need to be picked. Both rely on Preview.SurfaceProvider.
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