Database Listener
- Kotlin
- Java
This is an interface that defines callback functions called when SyncDatabase is created, initialized, or destroyed.
Summary
| Public functions | |
|---|---|
| Unit | Called when a state change occurs in SyncDatabase |
Public methods
onStateChanged()
Called when a state change occurs in SyncDatabase
fun onStateChanged(state: InitializationState)
| Parameters | |
|---|---|
| InitializationState | A detailed description of the initialization state is documented in InitializationState |
This is an interface that defines the callback functions called when SyncDatabase is created, initialized, and destroyed.
Summary
| Public methods | |
|---|---|
void | Called when a state change occurs in SyncDatabase |
Public functions
onStateChanged()
Called when a state change occurs in SyncDatabase
void onStateChanged(@NonNull InitializationState state)
| Parameters | |
|---|---|
| InitializationState | A detailed description of the initialization state is documented in InitializationState |