setCameraStabilizationMode abstract method

Future<void> setCameraStabilizationMode(
  1. CameraStabilizationMode mode
)

Set the camera stabilization mode.

This method applies to iOS only. The camera stabilization mode is off by default. You need to call this method to turn it on and set the appropriate stabilization mode.

  • mode Camera stabilization mode. See CameraStabilizationMode.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setCameraStabilizationMode(CameraStabilizationMode mode);