DVCameraBackend class abstract interface

A camera device.

Properties

capabilities → DVCameraCapabilities
no setter
events → Stream<DVCameraEvent>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Closes the device. Confirmed by DVCameraClosed.
dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(DVCameraLens lens) → Future<void>
Opens lens and starts the preview. Confirmed by DVCameraOpened.
setTorch(bool on) → Future<void>
startRecording(String path, {DVVideoQuality quality = DVVideoQuality.hd720, bool audio = true}) → Future<void>
Records into path. Confirmed by DVCameraRecordingStarted.
stopRecording() → Future<void>
Confirmed by DVCameraRecordingStopped once the file is finalised.
takePhoto(String path, {DVFlashMode flash = DVFlashMode.off}) → Future<void>
Writes a JPEG into path, which exists and is private. Confirmed by DVCameraPhotoTaken.
toString() → String
A string representation of this object.
inherited

Operators

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