Skip to content

[camera] Add ProcessCameraProvider class to CameraX plugin #111127

@camsim99

Description

@camsim99

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

Metadata

Metadata

Assignees

No one assigned

    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 specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions