An open camera as seen by the platform layer.
Properties
-
Raw hardware-button states: 1 for press, 0 for release.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- previewSize → UvcSize
-
The size the preview is running at.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Stream<
UvcCameraStatus> -
Status changes. Emits UvcCameraStatus.disconnected if the camera goes
away.
no setter
-
supportedSizes
→ List<
UvcSize> -
Every size and format the camera reports.
no setter
Methods
-
buildPreview(
BuildContext context) → Widget - Builds the live preview widget.
-
capture(
{required int quality}) → Future< XFile> -
Captures the next frame as JPEG with
qualityfrom 1 to 100. -
close(
) → Future< void> - Stops the preview and releases the camera. Safe to call more than once.
-
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