- GeoFire - Class in com.firebase.geofire
-
A GeoFire instance is used to store geo location data in Firebase.
- GeoFire(DatabaseReference) - Constructor for class com.firebase.geofire.GeoFire
-
Creates a new GeoFire instance at the given Firebase reference.
- GeoFire.CompletionListener - Interface in com.firebase.geofire
-
A listener that can be used to be notified about a successful write or an error on writing.
- GeoLocation - Class in com.firebase.geofire
-
A wrapper class for location coordinates.
- GeoLocation(double, double) - Constructor for class com.firebase.geofire.GeoLocation
-
Creates a new GeoLocation with the given latitude and longitude.
- GeoQuery - Class in com.firebase.geofire
-
A GeoQuery object can be used for geo queries in a given circle.
- GeoQueryDataEventListener - Interface in com.firebase.geofire
-
GeoQuery notifies listeners with this interface about dataSnapshots that entered, exited, or moved within the query.
- GeoQueryEventListener - Interface in com.firebase.geofire
-
GeoQuery notifies listeners with this interface about keys that entered, exited, or moved within the query.
- getCenter() - Method in class com.firebase.geofire.GeoQuery
-
Returns the current center of this query.
- getDatabaseReference() - Method in class com.firebase.geofire.GeoFire
-
- getLocation(String, LocationCallback) - Method in class com.firebase.geofire.GeoFire
-
Gets the current location for a key and calls the callback with the current value.
- getLocationValue(DataSnapshot) - Static method in class com.firebase.geofire.GeoFire
-
- getRadius() - Method in class com.firebase.geofire.GeoQuery
-
Returns the radius of the query, in kilometers.
- onCancelled(DatabaseError) - Method in interface com.firebase.geofire.LocationCallback
-
Called if the callback could not be added due to failure on the server or security rules.
- onComplete(String, DatabaseError) - Method in interface com.firebase.geofire.GeoFire.CompletionListener
-
Called once a location was successfully saved on the server or an error occurred.
- onDataChanged(DataSnapshot, GeoLocation) - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called if a dataSnapshot changed within the search area.
- onDataEntered(DataSnapshot, GeoLocation) - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called if a dataSnapshot entered the search area of the GeoQuery.
- onDataExited(DataSnapshot) - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called if a datasnapshot exited the search area of the GeoQuery.
- onDataMoved(DataSnapshot, GeoLocation) - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called if a dataSnapshot moved within the search area.
- onGeoQueryError(DatabaseError) - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called in case an error occurred while retrieving locations for a query, e.g.
- onGeoQueryError(DatabaseError) - Method in interface com.firebase.geofire.GeoQueryEventListener
-
Called in case an error occurred while retrieving locations for a query, e.g.
- onGeoQueryReady() - Method in interface com.firebase.geofire.GeoQueryDataEventListener
-
Called once all initial GeoFire data has been loaded and the relevant events have been fired for this query.
- onGeoQueryReady() - Method in interface com.firebase.geofire.GeoQueryEventListener
-
Called once all initial GeoFire data has been loaded and the relevant events have been fired for this query.
- onKeyEntered(String, GeoLocation) - Method in interface com.firebase.geofire.GeoQueryEventListener
-
Called if a key entered the search area of the GeoQuery.
- onKeyExited(String) - Method in interface com.firebase.geofire.GeoQueryEventListener
-
Called if a key exited the search area of the GeoQuery.
- onKeyMoved(String, GeoLocation) - Method in interface com.firebase.geofire.GeoQueryEventListener
-
Called if a key moved within the search area.
- onLocationResult(String, GeoLocation) - Method in interface com.firebase.geofire.LocationCallback
-
This method is called with the current location of the key.