public interface GeoQueryEventListener
Modifier and Type | Method and Description |
---|---|
void |
onGeoQueryError(java.lang.Exception exception)
Called in case an exception occurred while retrieving locations for a query, e.g.
|
void |
onGeoQueryReady()
Called once all initial GeoFirestore data has been loaded and the relevant events have been fired for this query.
|
void |
onKeyEntered(java.lang.String documentID,
com.google.firebase.firestore.GeoPoint location)
Called if a documentID entered the search area of the GeoQuery.
|
void |
onKeyExited(java.lang.String documentID)
Called if a documentID exited the search area of the GeoQuery.
|
void |
onKeyMoved(java.lang.String documentID,
com.google.firebase.firestore.GeoPoint location)
Called if a documentID moved within the search area.
|
void onKeyEntered(java.lang.String documentID, com.google.firebase.firestore.GeoPoint location)
documentID
- The documentID that entered the search arealocation
- The location for this documentIDvoid onKeyExited(java.lang.String documentID)
documentID
- The documentID that exited the search areavoid onKeyMoved(java.lang.String documentID, com.google.firebase.firestore.GeoPoint location)
documentID
- The documentID that moved within the search arealocation
- The location for this documentIDvoid onGeoQueryReady()
void onGeoQueryError(java.lang.Exception exception)
exception
- The exception that occurred while retrieving the query