gpg::
  #include <video_capabilities.h>
  A data structure which allows access to information on what capabilities the current device has for video recording.
Summary
| Constructors and Destructors | |
|---|---|
| VideoCapabilities() | |
| VideoCapabilities(std::shared_ptr< const VideoCapabilitiesImpl > impl)Explicit constructor.  | |
| VideoCapabilities(const VideoCapabilities & copy_from)Copy constructor for copying an existing VideoCapabilities object into a new one.  | |
| VideoCapabilities(VideoCapabilities && move_from)Constructor for moving an existing VideoCapabilities object into a new one.  | |
| ~VideoCapabilities() | 
| Public functions | |
|---|---|
| IsCameraSupported() const  | boolReturns whether the device has a front-facing camera and we can use it.  | 
| IsFullySupported(VideoCaptureMode capture_mode, VideoQualityLevel quality_level) const  | boolChecks if the capture mode and quality level are supported, as well as camera, mic, and storage write.  | 
| IsMicSupported() const  | boolReturns whether the device has a microphone and we can use it.  | 
| IsWriteStorageSupported() const  | boolReturns whether the device has an external storage device and we can use it.  | 
| SupportsCaptureMode(VideoCaptureMode capture_mode) const  | boolReturns whether the device supports the given capture mode.  | 
| SupportsQualityLevel(VideoQualityLevel quality_level) const  | boolReturns whether the device supports the given quality level.  | 
| Valid() const  | boolReturns true when the returned VideoCapabilities object is populated with data and is accompanied by a successful response status; false for an unpopulated user-created VideoCapabilities object or for a populated one accompanied by an unsuccessful response status.  | 
| operator=(const VideoCapabilities & copy_from) | Assignment operator for assigning this VideoCapabilities object's value from another VideoCapabilities object.  | 
| operator=(VideoCapabilities && move_from) | Assignment operator for assigning this VideoCapabilities object's value from another VideoCapabilities object.  | 
Public functions
IsCameraSupported
bool IsCameraSupported() const
Returns whether the device has a front-facing camera and we can use it.
IsFullySupported
bool IsFullySupported( VideoCaptureMode capture_mode, VideoQualityLevel quality_level ) const
Checks if the capture mode and quality level are supported, as well as camera, mic, and storage write.
IsMicSupported
bool IsMicSupported() const
Returns whether the device has a microphone and we can use it.
IsWriteStorageSupported
bool IsWriteStorageSupported() const
Returns whether the device has an external storage device and we can use it.
SupportsCaptureMode
bool SupportsCaptureMode( VideoCaptureMode capture_mode ) const
Returns whether the device supports the given capture mode.
SupportsQualityLevel
bool SupportsQualityLevel( VideoQualityLevel quality_level ) const
Returns whether the device supports the given quality level.
Valid
bool Valid() const
Returns true when the returned VideoCapabilities object is populated with data and is accompanied by a successful response status; false for an unpopulated user-created VideoCapabilities object or for a populated one accompanied by an unsuccessful response status.
It must be true for the getter functions on this VideoCapabilities object to be usable.
VideoCapabilities
VideoCapabilities()
VideoCapabilities
VideoCapabilities( std::shared_ptr< const VideoCapabilitiesImpl > impl )
Explicit constructor.
VideoCapabilities
VideoCapabilities( const VideoCapabilities & copy_from )
Copy constructor for copying an existing VideoCapabilities object into a new one.
VideoCapabilities
VideoCapabilities( VideoCapabilities && move_from )
Constructor for moving an existing VideoCapabilities object into a new one.
r-value-reference version.
operator=
VideoCapabilities & operator=( const VideoCapabilities & copy_from )
Assignment operator for assigning this VideoCapabilities object's value from another VideoCapabilities object.
operator=
VideoCapabilities & operator=( VideoCapabilities && move_from )
Assignment operator for assigning this VideoCapabilities object's value from another VideoCapabilities object.
r-value-reference version.
~VideoCapabilities
~VideoCapabilities()
