isSubjectAreaChangeMonitoringEnabled
A Boolean value that indicates whether the device monitors the subject area for changes.
Declaration
var isSubjectAreaChangeMonitoringEnabled: Bool { get set }Discussion
The value of this property indicates whether the device monitors the video subject area for changes, such as lighting changes, substantial movement, and so on. If you enable subject area change monitoring, the capture device object sends an subjectAreaDidChangeNotification whenever it detects a change to the subject area. You can observe this notification and take action such as focusing, adjusting exposure, and so on.
Before changing the value of this property, you must call lockForConfiguration() to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you’re finished configuring the device, call unlockForConfiguration() to release the lock and allow other devices to configure the settings.
This property is key-value observable.