ImageCapture class
The interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device. It provides an interface for capturing images from a photographic device referenced through a valid MediaStreamTrack.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- ImageCapture(MediaStreamTrack videoTrack)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- track → MediaStreamTrack
-
Available on ImageCapture, provided by the PropsImageCapture extension
no setter
Methods
-
getPhotoCapabilities(
) → Future< PhotoCapabilities> -
Available on ImageCapture, provided by the PropsImageCapture extension
-
getPhotoSettings(
) → Future< PhotoSettings> -
Available on ImageCapture, provided by the PropsImageCapture extension
-
grabFrame(
) → Future< ImageBitmap> -
Available on ImageCapture, provided by the PropsImageCapture extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
takePhoto(
[PhotoSettings? photoSettings]) → Future< Blob> -
Available on ImageCapture, provided by the PropsImageCapture extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited