getMaximumEyeGazeY method

int getMaximumEyeGazeY()

Gets the maximum value of the eye gaze alongside the Y axis. Hint: Default value is 10.

return Maximum value of the eye gaze alongside the Y axis. throws FaceException An error has occurred during Face Library execution.

Implementation

int getMaximumEyeGazeY() {
  Pointer<Int> pMaximumEyeGazeY = calloc();
  try {
    var err = faceSDK.id3FacePortraitProcessor_GetMaximumEyeGazeY(_pHandle.value, pMaximumEyeGazeY);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vMaximumEyeGazeY = pMaximumEyeGazeY.value;
    return vMaximumEyeGazeY;
  } finally {
    calloc.free(pMaximumEyeGazeY);
  }
}