toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OrientationCorrection.rotate_0:
      return 'ROTATE_0';
    case OrientationCorrection.rotate_90:
      return 'ROTATE_90';
    case OrientationCorrection.rotate_180:
      return 'ROTATE_180';
    case OrientationCorrection.rotate_270:
      return 'ROTATE_270';
  }
}