Type alias CameraPreviewAspectRatio

CameraPreviewAspectRatio: "RATIO_4_3" | "RATIO_16_9"

Tries to select the camera preview aspect ratio that best matches the given aspect ratio. If no exact match is found, it selects the closest one available. Android only.

  • RATIO_4_3: Standard preview aspect ratio used by most of the devices.
  • RATIO_16_9: Widescreen preview aspect ratio used by some devices.