AVCaptureAutoFocusRangeRestriction Enum

Definition

An enumeration whose values specify hints to autofocus. Used with AutoFocusRangeRestriction.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVCaptureAutoFocusRangeRestriction
type AVCaptureAutoFocusRangeRestriction = 
Inheritance
AVCaptureAutoFocusRangeRestriction
Attributes

Fields

Name Value Description
None 0

Autofocus should try to focus on objects at any distance.

Near 1

Autofocus should try to focus on closer objects.

Far 2

Autofocus should try to focus on distant objects.

Applies to