VideoCaptureDeviceItem::getDisplayName Method

Returns the display name of the video capture device.
Syntax:
std::string getDisplayName() const;
std::wstring getDisplayNameW() const;

Return value:

The display name of the video capture device.

Remarks:

This method returns the unique name of the device on the system. USB devices keep the same name as long their USB port is not changed. IEEE 1394 devices keep their names, but may have a different name on a different machine.

Information:

Introduced in version 2.0

See also: VideoCaptureDeviceItem, VideoCaptureDeviceItem::toString, VideoCaptureDeviceItem::getName, VideoCaptureDeviceItem::getBaseName, VideoCaptureDeviceItem::getDisplayName

<< VideoCaptureDeviceItem