new Device()
- Source:
Extends
- EventEmitter
Members
(readonly) connected
Properties:
Name | Type | Description |
---|---|---|
connected |
boolean | Check if the device is still attached. |
- Source:
(readonly) hub
Properties:
Name | Type | Description |
---|---|---|
hub |
Hub | The Hub the device is attached to. |
- Source:
(readonly) isVirtualPort
Properties:
Name | Type | Description |
---|---|---|
isVirtualPort |
boolean | Is this device attached to a virtual port (ie. a combined device) |
- Source:
(readonly) mode
Properties:
Name | Type | Description |
---|---|---|
mode |
number | The mode the device is currently in |
- Source:
(readonly) portName
Properties:
Name | Type | Description |
---|---|---|
portName |
string | The port the device is attached to. |
- Source:
(readonly) type
Properties:
Name | Type | Description |
---|---|---|
type |
number | The type of the device |
- Source: