VirtualBox Main API
Public Member Functions | Public Attributes | List of all members
IEmulatedUSB Interface Reference

Manages emulated USB devices. More...

Inheritance diagram for IEmulatedUSB:

Public Member Functions

void webcamAttach (in wstring path, in wstring settings)
 Attaches the emulated USB webcam to the VM, which will use a host video capture device.
 
void webcamDetach (in wstring path)
 Detaches the emulated USB webcam from the VM.
 

Public Attributes

readonly attribute wstring[] webcams
 Lists attached virtual webcams.
 

Detailed Description

Manages emulated USB devices.

Interface ID:
{6E253EE8-477A-2497-6759-88B8292A5AF0}

Member Function Documentation

◆ webcamAttach()

void IEmulatedUSB::webcamAttach ( in wstring  path,
in wstring  settings 
)

Attaches the emulated USB webcam to the VM, which will use a host video capture device.

Parameters
pathThe host path of the capture device to use.
settingsOptional settings.

◆ webcamDetach()

void IEmulatedUSB::webcamDetach ( in wstring  path)

Detaches the emulated USB webcam from the VM.

Parameters
pathThe host path of the capture device to detach.

Member Data Documentation

◆ webcams

readonly attribute wstring [] IEmulatedUSB::webcams

Lists attached virtual webcams.