Skip to content

[camera] Add CameraSelector class to CameraX plugin #111124

@camsim99

Description

@camsim99

Overview

In the CameraX library, the CameraSelector class provides the functionality to select a camera for use in any of the applicable CameraX use cases. This will be essential to allowing developers to pick a camera for use in the CameraX plugin.

Requirements

The following is a running list of the subclasses, fields and methods required for adding the CameraSelector class to the CameraX plugin.

Subclasses

CameraSelector.Builder
  • CameraSelector.Builder requireLensFacing(int lensFacing)

Fields

  • LENS_FACING_BACK
  • LENS_FACING_FRONT
  • DEFAULT_BACK_CAMERA
  • DEFAULT_FRONT_CAMERA

Instance Methods

  • List<CameraInfo> filter(List<CameraInfo> cameraInfos)

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