Class State

java.lang.Object
com.google.adk.sessions.State
All Implemented Interfaces:
ConcurrentMap<String,Object>, Map<String,Object>

public final class State extends Object implements ConcurrentMap<String,Object>
Session state that also records each write made through put(String, Object), remove(Object) and the other write methods in a delta. Writes through the entrySet(), keySet() and values() views and clear() skip the delta, so no event carries them; in the Context.state() of a workflow node, and in a tool context under a state schema, they throw UnsupportedOperationException.