setPreset method

Sets the camera preset for the gaze tracker.

preset specifies the camera resolution to be used. Returns the GazeTrackerOptionsBuilder for method chaining.

Implementation

GazeTrackerOptionsBuilder setPreset(CameraPreset preset) {
  _preset = preset;
  return this;
}