new DeviceInfo()
- Source:
Methods
(static) DeviceInfo#getModel() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) DeviceInfo#getName() → {String}
Get the field value
Name of the device (if entered)
- Source:
Returns:
- Type
- String
(static) DeviceInfo#getSerial() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) DeviceInfo#getSupportsAcks() → {Boolean}
Get the field value
If true, then the device supports acknowledgements.
- Source:
Returns:
- Type
- Boolean
(static) DeviceInfo#setModel(model)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
model |
String |
- Source:
(static) DeviceInfo#setName(name)
Set the field value
Name of the device (if entered)
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) DeviceInfo#setSerial(serial)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
serial |
String |
- Source:
(static) DeviceInfo#setSupportsAcks(supportsAcks)
Set the field value
If true, then the device supports acknowledgements.
Parameters:
Name | Type | Description |
---|---|---|
supportsAcks |
Boolean |
- Source: