DeviceConfigElement
public abstract class DeviceConfigElement extends Object
Constructors
Name | Description |
---|---|
public DeviceConfigElement()
|
Methods
vendorId
public abstract int vendorId()
ReturnValue
Name | Description |
---|---|
int
|
productId
public abstract int productId()
ReturnValue
Name | Description |
---|---|
int
|
key
public abstract String key()
ReturnValue
Name | Description |
---|---|
String
|
type
public abstract SettingsType type()
ReturnValue
Name | Description |
---|---|
SettingsType
|
value
public abstract String value()
ReturnValue
Name | Description |
---|---|
String
|
create
public static DeviceConfigElement create(int vendorId, int productId, String key)
Parameters
Name | Description |
---|---|
int vendorId
|
|
int productId
|
|
String key
|
ReturnValue
Name | Description |
---|---|
DeviceConfigElement
|
create
public static DeviceConfigElement create(int vendorId, int productId, String key, SettingsType type, String value)
Parameters
Name | Description |
---|---|
int vendorId
|
|
int productId
|
|
String key
|
|
SettingsType type
|
|
String value
|
ReturnValue
Name | Description |
---|---|
DeviceConfigElement
|
Model class to write config values to tag. SeeSetConfigCommand.