VideoCaptureDeviceItem::getUniqueName Method |
||
Returns a unique name for this device. | ||
Syntax: | std::string getUniqueName() const; std::wstring getUniqueNameW() const; |
|
Return value: | A string containing the unique name of the device. If an error occurred, an empty string is returned. |
|
Remarks: | A unique name is only available for devices that return a serial number. Using this name, a device can be identified unambiguously. |
|
Information: | Introduced in version 2.0 | |
See also: | VideoCaptureDeviceItem, VideoCaptureDeviceItem::toString, VideoCaptureDeviceItem::getName, VideoCaptureDeviceItem::getBaseName, VideoCaptureDeviceItem::getDisplayName |