isCalibrating method

Future<bool?> isCalibrating()

Checks whether the SeeSo SDK is currently in the process of calibration.

Use this function to determine if the SeeSo SDK is currently performing a calibration process.

Returns:

  • true if the SDK is in the calibration process.
  • false if the SDK is not calibrating or if an error occurs during the process.

Note: If the camera permission is not granted or if the gaze tracker has not been properly initialized, a PlatformException may be thrown.

Implementation

Future<bool?> isCalibrating() async {
  return SeeSoPlatform.instance.isCalibrating();
}