MediaCapture class

Constructors

MediaCapture.capturing({Exception? exception, required CaptureRequest captureRequest, VideoState? videoState})
MediaCapture.failure({Exception? exception, required CaptureRequest captureRequest})
MediaCapture.success({Exception? exception, required CaptureRequest captureRequest})

Properties

captureRequest CaptureRequest
final
exception Exception?
final
hashCode int
The hash code for this object.
no setterinherited
isPicture bool
Returns true if the capture has either a mimeType with "image" inside or if the file path ends with "jpg". On Web, returns always true
no setter
isRecordingVideo bool
no setter
isVideo bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status MediaCaptureStatus
final
videoState VideoState?
final

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