Indicates whether the device should monitor the subject area for changes.
- iOS 5.0+
- Mac Catalyst 13.0+
The value of this property indicates whether the receiver should monitor the video subject area for changes, such as lighting changes, substantial movement, and so on. If subject area change monitoring is enabled, the capture device object sends an
AVCapture whenever it detects a change to the subject area, at which time an interested client may wish to re-focus, adjust exposure, white balance, etc.
Before changing the value of this property, you must call
lock to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you are done configuring the device, call
unlock to release the lock and allow other devices to configure the settings.
You can observe changes to the value of this property using Key-value observing.