public class SettingsReader
extends java.lang.Object
Constructor and Description |
---|
SettingsReader(DeviceConnection connection) |
Modifier and Type | Method and Description |
---|---|
SettingsReader |
get(java.lang.Object key,
ReadableDeviceSetting setting)
Gets value from device and places it under given key in output map.
|
void |
read(SettingCallback<java.util.Map<java.lang.Object,java.lang.Object>> callback) |
public SettingsReader(DeviceConnection connection)
public SettingsReader get(java.lang.Object key, ReadableDeviceSetting setting)
key
- Custom key to store value in resutl map.setting
- Setting to be read.public void read(SettingCallback<java.util.Map<java.lang.Object,java.lang.Object>> callback)