startCollectSamples method

Future<void> startCollectSamples()

Notifies the SeeSo SDK to begin collecting samples for the current calibration target.

Use this function to inform the SeeSo SDK that you have displayed the calibration target point on the UI, and you are ready to start collecting calibration data for that target.

Note: Before calling this function, make sure you have already displayed the calibration target point on the UI. If camera permission is not granted or if the gaze tracker has not been properly initialized, a PlatformException may be thrown.

Implementation

Future<void> startCollectSamples() async {
  SeeSoPlatform.instance.startCollectSamples();
}