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. More...
void | webcamDetach (in wstring path)
| Detaches the emulated USB webcam from the VM. More...

## Public Attributes
readonly attribute wstring [] | webcams
| Lists attached virtual webcams. More...

## 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

  path | The host path of the capture device to use.
  settings | Optional settings.

## ◆ webcamDetach()

void IEmulatedUSB::webcamDetach | ( | in wstring | path | ) |

Detaches the emulated USB webcam from the VM.

Parameters

  path | The host path of the capture device to detach.

## Member Data Documentation

## ◆ webcams

readonly attribute wstring [] IEmulatedUSB::webcams

Lists attached virtual webcams.