public interface SettingsEditor
Usage:
DeviceConnection connection = ....;
connection.edit()
.set(connection.settings.eddystone.URL.advertisingInterval(), 500)
.set(connection.settings.eddystone.URL.url(), "http://estimote.com")
.commit(new SettingCallback() {| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
commit(SettingCallback callback)
Executes settings saving procedure.
|
<T> SettingsEditor |
set(DeviceSetting<T> setting,
T value)
Sets device setting to given value.
|
<T> SettingsEditor set(DeviceSetting<T> setting, T value)
T - Setting data type.setting - Setting to be changed.value - New value.CallbackHandler commit(SettingCallback callback)
Note: SettingCallback.onSuccess(Object) will be called with null argument.