setCameraZoomFactor abstract method

Future<void> setCameraZoomFactor(
  1. double factor
)

Sets the camera zoom ratio. Call this method before calling joinChannel , enableVideo , or enableLocalVideo , depending on which method you use to turn on your local camera.

Param factor The camera zoom ratio. The value ranges between 1.0 and the maximum zoom supported by the device. You can get the maximum zoom ratio supported by the device by calling the getCameraMaxZoomFactor method.

Implementation

Future<void> setCameraZoomFactor(double factor);