getCameraPositionList method

Future<List<CameraPosition>?> getCameraPositionList()

Retrieves the list of current camera positions used by the SeeSo SDK.

Use this function to get a list of camera position information that is currently being used by the SeeSo SDK. The returned list contains CameraPosition objects, each representing a different camera position.

Returns:

  • A list of CameraPosition objects currently being used by the SeeSo SDK, or null if not available.

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. If used on iOS, a MissingPluginException may be thrown.

Implementation

Future<List<CameraPosition>?> getCameraPositionList() async {
  return SeeSoPlatform.instance.getCameraPositionList();
}