GazeTrackerOptionsBuilder class

A builder class for constructing instances of GazeTrackerOptions.

The GazeTrackerOptionsBuilder provides a fluent interface for configuring the options used by the gaze tracker. This includes settings such as blink detection, user status tracking, gaze filtering, concurrency limits, and camera presets.

Example usage:

var options = GazeTrackerOptionsBuilder()
  .setUseBlink(true)
  .setMaxConcurrency(2)
  .setPreset(CameraPreset.fhd1920x1080)
  .build();

This allows for flexible and readable configuration of the GazeTrackerOptions.

Constructors

GazeTrackerOptionsBuilder()

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

build() GazeTrackerOptions
Builds and returns a GazeTrackerOptions instance with the configured settings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMaxConcurrency(int maxConcurrency) GazeTrackerOptionsBuilder
Sets the maximum number of concurrent gaze tracking processes.
setPreset(CameraPreset preset) GazeTrackerOptionsBuilder
Sets the camera preset for the gaze tracker.
Sets whether to use the blink detection feature.
setUseGazeFilter(bool useGazeFilter) GazeTrackerOptionsBuilder
Sets whether to use gaze filtering for stabilization.
setUseUserStatus(bool useUserStatus) GazeTrackerOptionsBuilder
Sets whether to use user status tracking.
toString() String
A string representation of this object.
inherited

Operators

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