setCameraZoomRatio abstract method

Future<int?> setCameraZoomRatio(
  1. double zoom
)

Change the optical zoom magnification.

zoom: Zoom magnification of the currently used camera (front/postcondition). The value range is 1, < Maximum Zoom Multiplier >.
the maximum value that can be set is obtained through RTCVideo.getCameraZoomMaxRatio.

Notes:

Implementation

Future<int?> setCameraZoomRatio(double zoom);