FMX.Media.TCaptureDeviceManager

Delphi
TCaptureDeviceManager = class abstract
C++
class PASCALIMPLEMENTATION TCaptureDeviceManager : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | FMX.Media |
Description
Manager class for capturing devices.
Use TCaptureDeviceManager to access and manage every capturing device.
Access the currently used capturing device using Current property. TCaptureDeviceManager destroys the used devices when the application is closed. Do not explicitly destroy a capturing device.
TCaptureDeviceManager has specific methods and properties to:
- Access devices by type: GetDevicesByMediaType.
- Access the default devices: GetDefaultDeviceByMediaType, DefaultVideoCaptureDevice, DefaultAudioCaptureDevice.
- Access devices by name: GetDevicesByName.
- Get the list of the available media devices: Devices.
TCaptureDeviceManager allows adding custom capture devices developed by third-party vendors. This new device can be restored using the RegisterCaptureDeviceClass method. After registering the new device, it can be accessed as every standard device in TCaptureDeviceManager.
See Also
- FMX.Media.TVideoCaptureDevice
- FMX.Media.TCaptureDevice
- FMX.Media.TAudioCaptureDevice
- Audio-Video in FireMonkey
- Audio Recording