public class ConnectedObserver extends Object implements GatewayObserver
GatewayObserver.CONNECTED
events.CONNECTED, DISCONNECTED, DISCONNECTED_RESUME, NOOP_LISTENER, RETRY_FAILED, RETRY_RESUME_STARTED, RETRY_STARTED, RETRY_SUCCEEDED, SEQUENCE
Constructor and Description |
---|
ConnectedObserver(Consumer<IdentifyOptions> task) |
Modifier and Type | Method and Description |
---|---|
void |
onStateChange(ConnectionObserver.State newState,
IdentifyOptions identifyOptions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emptyListener, then
public ConnectedObserver(Consumer<IdentifyOptions> task)
public void onStateChange(ConnectionObserver.State newState, IdentifyOptions identifyOptions)
onStateChange
in interface GatewayObserver