Package com.couchbase.lite
Interface DatabaseChangeListener
-
- All Superinterfaces:
ChangeListener<DatabaseChange>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DatabaseChangeListener extends ChangeListener<DatabaseChange>
The listener interface for receiving Database change events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changed(DatabaseChange change)
Callback function from Database when database has change
-
-
-
Method Detail
-
changed
void changed(@NonNull DatabaseChange change)
Callback function from Database when database has change- Specified by:
changed
in interfaceChangeListener<DatabaseChange>
- Parameters:
change
- the database change information
-
-