IQueryAddChangeListener Method (EventHandlerQueryChangedEventArgs) |
Adds a change listener to track when this query instance has a change in
its results. Adding the first change listener will begin the live semantics.
Namespace:
Couchbase.Lite.Query
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax ListenerToken AddChangeListener(
EventHandler<QueryChangedEventArgs> handler
)
Parameters
- handler
- Type: SystemEventHandlerQueryChangedEventArgs
The handler to call when the query result set changes
Return Value
Type:
ListenerTokenA token that can be used to remove the listener later
See Also