setDistortionCorrection abstract method

void setDistortionCorrection(
  1. int textureId,
  2. int enabled
)

Enables or disables lens distortion correction on the capture pipeline (Camera2 DISTORTION_CORRECTION_MODE, API 28+). No-op when the device doesn't support it. enabled: 1 = on (HIGH_QUALITY), 0 = off.

Implementation

void setDistortionCorrection(int textureId, int enabled);