CameraInfo class

Information about a camera.

Retrieve by calling Camera.getAllCameraInfo.

Annotations
  • @Reference('android_hardware/camera/CameraInfo')

Constructors

CameraInfo({required int cameraId, required int facing, required int orientation, required bool? canDisableShutterSound})
Default constructor for CameraInfo.

Properties

cameraId int
The identifier for this camera device.
final
canDisableShutterSound bool?
Whether the shutter sound can be disabled.
final
facing int
The direction that the camera faces.
final
hashCode int
The hash code for this object.
no setterinherited
orientation int
The orientation of the camera image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

cameraFacingBack → const int
The facing of the camera is opposite to that of the screen.
cameraFacingFront → const int
The facing of the camera is the same as that of the screen.