Skip to content

[camerax] Implement onCameraClosing #121162

@camsim99

Description

@camsim99

In the Flutter camera plugin API, the onCameraClosing callback provides a way for developers to know when the camera they are using is closing. In CameraX, this maps to the point when there are no UseCases bound to the lifecycle controlled by the relevant ProcessCameraProvider instance. Using this fact, the onCameraClosing method needs to be implemented in the CameraX plugin.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions