Members
back
Get the last device
front
Get the first device
size
Determines number of devices in a list.
Methods
contains(device) → {Boolean}
Checks if a specific device is contained inside a device list.
Parameters:
| Name | Type | Description |
|---|---|---|
device |
Device | the camera to be checked |
Returns:
true if the camera is contained in the list, otherwise false
- Type
- Boolean
destroy()
Release resources associated with the object
getDevice(index) → {Device|undefined}
Creates a device by index. The device object represents a physical camera and provides the
means to manipulate it.
Parameters:
| Name | Type | Description |
|---|---|---|
index |
Integer | the zero based index of the device in the device list |
Returns:
- Type
- Device | undefined