DVCaptureHold class

One piece of work the capture waits for. release it when the work is done, or when it will never finish (it failed, or its widget went away); releasing twice is harmless.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Lets the capture go on, as far as this work is concerned.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

active → int
How many holds are unreleased.
no setter

Static Methods

begin() → DVCaptureHold
Holds the capture until the returned hold is released.
resetForTest() → void
Forgets every hold, between tests.