CamSelector
Camera Selector.
Defines criteria for selecting a specific camera based on its position (Front/Back) and lens type (e.g., Wide, UltraWide, Telephoto).
This class wraps the internal CameraSelector from CameraX to provide a unified selector.
See also
Selector used to choose the camera sensor (Front/Back) and lens type (Wide, UltraWide, etc).
This class encapsulates the criteria for selecting a camera device. It primarily determines which direction the camera faces (CamPosition) and which lens configurations are preferred (CamLensType).
See also
Selector used to choose the camera sensor (Front/Back) and lens type (Wide, UltraWide, etc).
This class encapsulates the criteria for selecting a camera device. It primarily determines which direction the camera faces (CamPosition) and which lens configurations are preferred (CamLensType).
See also
Constructors
Types
Properties
A list of preferred lens types (e.g., CamLensType.Wide, CamLensType.Telephoto). Defaults to a list containing only CamLensType.Wide.
A list of preferred lens types (e.g., CamLensType.Wide, CamLensType.Telephoto). Defaults to a list containing only CamLensType.Wide.
A list of preferred lens types (e.g., CamLensType.Wide, CamLensType.Telephoto). Defaults to a list containing only CamLensType.Wide.
The position of the camera (e.g., CamPosition.Front or CamPosition.Back).
The position of the camera (e.g., CamPosition.Front or CamPosition.Back).
The position of the camera (e.g., CamPosition.Front or CamPosition.Back).
Returns a new CamSelector with the inverted camera position (Front to Back, or Back to Front) while maintaining the same preferred lens types.