VideoRotation

@objc
public enum VideoRotation : Int

VideoRotation describes the rotation of the video frame buffer in degrees clockwise from intended viewing horizon.

e.g. If you were recording camera capture upside down relative to the orientation of the sensor, this value would be VideoRotation.rotation180.

  • Not rotated.

    Declaration

    Swift

    case rotation0 = 0
  • Rotated 90 degrees clockwise.

    Declaration

    Swift

    case rotation90 = 90
  • Rotated 180 degrees clockwise.

    Declaration

    Swift

    case rotation180 = 180
  • Rotated 270 degrees clockwise.

    Declaration

    Swift

    case rotation270 = 270
  • Declaration

    Swift

    public var description: String { get }