VideoFeedSettings class
A view model to edit the settings of a video feed
- Inheritance
-
- Object
- ChangeNotifier
- VideoFeedSettings
Constructors
- VideoFeedSettings({double? zoom, double? pan, double? tilt, double? focus, bool? autofocus})
- Constructor the video feed settings, initializes any fields that are provided and in a valid range
Properties
- autofocus ↔ bool
-
Whether the camera should autofocus.
getter/setter pair
- focus ↔ double
-
The focus level, if autofocus is disabled.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isOpened ↔ bool
-
Checks if the current slider for video camera is open
getter/setter pair
- pan ↔ double
-
The pan level, when zoomed in.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tilt ↔ double
-
The tilt level, when zoomed in
getter/setter pair
- zoom ↔ double
-
The zoom level. Camera-specific.
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited