InternalStreamCreation mixin
- Superclass constraints
- Mixin applications
Properties
- frameInterval ↔ Duration
-
Timer used to capture frames to be analyzed
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isStarted → bool
-
no setterinherited
- localMediaStream ↔ MediaStream?
-
The video stream.
Will be initialized later to see which camera needs to be used.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- video → VideoElement
-
final
- videoContainer → DivElement
-
finalinherited
- videoHeight → int
-
no setteroverride
- videoWidth → int
-
no setteroverride
Methods
-
attachStreamToVideo(
MediaStream stream, VideoElement videoSource) → Future< void> -
detectBarcodeContinuously(
) → Stream< Barcode?> -
Starts scanning QR codes or barcodes
inherited
-
hasTorch(
) → Future< bool> -
Determine whether device has flash
inherited
-
initMediaStream(
CameraFacing cameraFacing) → Future< MediaStream?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareVideoElement(
VideoElement videoSource) → void -
start(
{required CameraFacing cameraFacing, List< BarcodeFormat> ? formats, Duration? detectionTimeout}) → Future<void> -
Starts streaming video
inherited
-
stop(
) → Future< void> -
Stops streaming video
override
-
toggleTorch(
{required bool enabled}) → Future< void> -
Can enable or disable the flash if available
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited