setCameraExposureMode method

Future<void> setCameraExposureMode(
  1. ZegoCameraExposureMode mode,
  2. {ZegoPublishChannel? channel}
)

Set the camera exposure mode.

Available since: 2.14.0 Description: Set the camera exposure mode. Trigger: Called after turn on preview startPreivew. Restrictions: Currently only supports iOS and Android platforms. Note: This function is only available in ZegoExpressVideo SDK!

  • mode Exposure mode.
  • channel Publishing stream channel

Implementation

Future<void> setCameraExposureMode(ZegoCameraExposureMode mode,
    {ZegoPublishChannel? channel}) async {
  return await ZegoExpressImpl.instance
      .setCameraExposureMode(mode, channel: channel);
}