RFSCameraPosition

Objective-C

enum RFSCameraPosition : NSInteger {}

Swift

@frozen enum CameraPosition : Int, @unchecked Sendable

Physical position of camera’s hardware on the system.

  • The camera position corresponds to the front camera.

    Declaration

    Objective-C

    RFSCameraPositionFront

    Swift

    case front = 0
  • The camera position corresponds to the back camera.

    Declaration

    Objective-C

    RFSCameraPositionBack

    Swift

    case back = 1