selectCameraPosition method
Selects a specific camera position from the list of available camera positions in the SeeSo SDK.
Use this function to choose a camera position from the list of available camera positions
in the SeeSo SDK by providing its idx
value.
Parameters:
idx
: The index of the camera position to be selected.
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<void> selectCameraPosition(int idx) async {
SeeSoPlatform.instance.selectCameraPosition(idx);
}