A query for finding and monitoring available capture devices.
Mac Catalyst 13.0+Beta
Use this class to find all available capture devices matching a specific device type (such as microphone or wide-angle camera), supported media types for capture (such as audio, video, or both), and position (front- or back-facing).
After creating a device discovery session, you can inspect its devices array to choose a device for capture.
Returns an array of the devices able to capture data of a given media type.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.