setCameraZoomRatio abstract method

int setCameraZoomRatio(
  1. double ratio
)

Setting the Camera Zoom Ratio (for Mobile OS)

  • Parameters:
    • zoomRatio(double):
      • Value range: 1-5.
        • 1 indicates the widest angle of view (original).
        • 5 indicates the narrowest angle of view (zoomed in).
      • The maximum value is recommended to be 5. If the value exceeds 5, the video will become blurred.

Implementation

int setCameraZoomRatio(double ratio);