connectivityStateChanged abstract method

void connectivityStateChanged(
  1. String dbName,
  2. ConnectivityState state
)

Notification for network connectivity state changes. A connectivity change is automatically triggered in consequence of internal client events. 'connected': connection to Electric established 'disconnected': Electric is unreachable, or network is unavailable. A reason for the disconnection can be provided.

Implementation

void connectivityStateChanged(String dbName, ConnectivityState state);