isDeviceFound method
Checks whether the necessary device information is available for the SeeSo SDK.
Use this function to determine if the required device information is available for accurate functioning of the SeeSo SDK. It is important to have the correct device information to ensure optimal performance.
Returns:
true
if the necessary device information is available.false
if the necessary device information is not available or if the gaze tracker has not been properly initialized.
Note: If the camera permission is not granted or if the gaze tracker has not been properly initialized, a PlatformException may be thrown. Additionally, this function is specific to Android, and if used on iOS, a MissingPluginException may occur.
Implementation
Future<bool?> isDeviceFound() async {
return SeeSoPlatform.instance.isDeviceFound();
}