MBCameraAutofocusRestriction

Objective-C

enum MBCameraAutofocusRestriction : NSInteger {}

Swift

enum MBCameraAutofocusRestriction : Int, @unchecked Sendable

Camera autofocus restricion mode

  • Default. Indicates that the autofocus system should not restrict the focus range.

    Declaration

    Objective-C

    MBCameraAutofocusRestrictionNone

    Swift

    case none = 0
  • Indicates that the autofocus system should restrict the focus range for subject matter that is near to the camera.

    Declaration

    Objective-C

    MBCameraAutofocusRestrictionNear

    Swift

    case near = 1
  • Indicates that the autofocus system should restrict the focus range for subject matter that is far from the camera.

    Declaration

    Objective-C

    MBCameraAutofocusRestrictionFar

    Swift

    case far = 2