setCameraAutoExposureFaceModeEnabled abstract method

Future<void> setCameraAutoExposureFaceModeEnabled(
  1. bool enabled
)

Sets whether to enable auto exposure.

You must call this method after enableVideo. The setting result will take effect after the camera is successfully turned on, that is, after the SDK triggers the onLocalVideoStateChanged callback and returns the local video state as localVideoStreamStateCapturing (1). This method applies to iOS only.

  • enabled Whether to enable auto exposure: true : Enable auto exposure. false : Disable auto exposure.

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> setCameraAutoExposureFaceModeEnabled(bool enabled);