CaptureCapabilities class

What the current camera can do.

Annotations

Constructors

CaptureCapabilities({required StoryCameraLens lens, required Set<StoryCameraLens> availableLenses, required bool hasFlash, required double minZoom, required double maxZoom, required double previewAspectRatio})
Creates capabilities.
const

Properties

availableLenses → Set<StoryCameraLens>
Lenses the device has.
final
canSwitchLens → bool
Whether a lens switch is possible.
no setter
hasFlash → bool
Whether the lens in use has a hardware flash / torch.
final
hashCode → int
The hash code for this object.
no setterinherited
lens → StoryCameraLens
Lens in use.
final
maxZoom → double
Maximum zoom factor.
final
minZoom → double
Minimum zoom factor.
final
previewAspectRatio → double
Preview aspect ratio in portrait (width / height).
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