A C E G H L O Q R S T 

A

addGeoQueryEventListener(GeoQueryEventListener) - Method in class com.firebase.geofire.GeoQuery
Adds a new GeoQueryEventListener to this GeoQuery.

C

com.firebase.geofire - package com.firebase.geofire
 
coordinatesValid(double, double) - Static method in class com.firebase.geofire.GeoLocation
Checks if these coordinates are valid geo coordinates.

E

equals(Object) - Method in class com.firebase.geofire.GeoLocation
 

G

GeoFire - Class in com.firebase.geofire
A GeoFire instance is used to store geo location data in Firebase.
GeoFire(Firebase) - 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.
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.
getFirebase() - 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.
getRadius() - Method in class com.firebase.geofire.GeoQuery
Returns the radius of the query, in kilometers.

H

hashCode() - Method in class com.firebase.geofire.GeoLocation
 

L

latitude - Variable in class com.firebase.geofire.GeoLocation
The latitude of this location in the range of [-90, 90]
LocationCallback - Interface in com.firebase.geofire
Classes implementing this interface can be used to receive the locations stored in GeoFire.
longitude - Variable in class com.firebase.geofire.GeoLocation
The longitude of this location in the range of [-180, 180]

O

onCancelled(FirebaseError) - 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, FirebaseError) - Method in interface com.firebase.geofire.GeoFire.CompletionListener
Called once a location was successfully saved on the server or an error occurred.
onGeoQueryError(FirebaseError) - 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.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.

Q

queryAtLocation(GeoLocation, double) - Method in class com.firebase.geofire.GeoFire
Returns a new Query object centered at the given location and with the given radius.

R

removeAllListeners() - Method in class com.firebase.geofire.GeoQuery
Removes all event listeners from this GeoQuery.
removeGeoQueryEventListener(GeoQueryEventListener) - Method in class com.firebase.geofire.GeoQuery
Removes an event listener.
removeLocation(String) - Method in class com.firebase.geofire.GeoFire
Removes the location for a key from this GeoFire.
removeLocation(String, GeoFire.CompletionListener) - Method in class com.firebase.geofire.GeoFire
Removes the location for a key from this GeoFire.

S

setCenter(GeoLocation) - Method in class com.firebase.geofire.GeoQuery
Sets the new center of this query and triggers new events if necessary.
setLocation(String, GeoLocation) - Method in class com.firebase.geofire.GeoFire
Sets the location for a given key.
setLocation(String, GeoLocation, GeoFire.CompletionListener) - Method in class com.firebase.geofire.GeoFire
Sets the location for a given key.
setRadius(double) - Method in class com.firebase.geofire.GeoQuery
Sets the radius of this query, in kilometers, and triggers new events if necessary.

T

toString() - Method in class com.firebase.geofire.GeoLocation
 
A C E G H L O Q R S T 

Copyright © 2015 Firebase. All rights reserved.