Indicates whether the device is suspended.
SDK
- macOS 10.7+
Framework
- AVFoundation
Declaration
@property(nonatomic, readonly, getter=isSuspended) BOOL suspended;
Discussion
Some devices disallow data capture due to a feature on the device.
For example, is
returns YES
for an external iSight camera when its privacy iris is closed, or for the internal iSight camera on a notebook when the notebook’s display is closed.
You can observe changes to the value of this property using Key-value observing.