Grabber::openDevByUniqueName Method |
||||||||||||||
| Opens a device by its unique name. | ||||||||||||||
| Syntax: | bool openDevByUniqueName( const std::string& unique_name ); bool openDevByUniqueName( const std::wstring& unique_name ); |
|||||||||||||
|
||||||||||||||
| Return value: | true, if the video capture device could be opened successfully, false otherwise. |
|||||||||||||
| Remarks: | The unique name of a device can be obtained by calling VideoCaptureDeviceItem::getUniqueName. Please note that the unique name includes the serial number of the device. Therefore, it only exists for devices that have a serial number. |
|||||||||||||
| Information: | Introduced in version 2.0 | |||||||||||||
| See also: | Grabber, Grabber::openDev, VideoCaptureDeviceItem::getUniqueName | |||||||||||||