Skip to content

[camerax] Improve documentation on cameraId parameter #126270

@camsim99

Description

@camsim99

Many of the Flutter camera platform interface methods take in a cameraId parameter that is meant to reference the camera currently in use. In the Android implementation of this interface, this ID references the Flutter surface texture used to display a live preview. Because of this, the cameraId parameter often goes unused.

This issue serves as a reminder to update documentation in the android_camera_camerax implementation of the Flutter camera platform interface to be clear about what the cameraId references and whether or not it used for each method that it is a parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectd: api docsIssues with https://api.flutter.dev/p: 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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions