set
Set the key's current value.
The change is scheduled for commit through the message loop. This means that if you change multiple keys inside one method, all the changes will be committed at once. On the other hand, until the changes are committed, the SDK won't act based on the new values.
onChanged will be called when the change is being committed.
Parameters
value
The key's new value.