Modifier and Type | Method and Description |
---|---|
GeoLocation |
GeoQuery.getCenter()
Returns the current center of this query.
|
Modifier and Type | Method and Description |
---|---|
void |
GeoQueryEventListener.onKeyEntered(String key,
GeoLocation location)
Called if a key entered the search area of the GeoQuery.
|
void |
GeoQueryEventListener.onKeyMoved(String key,
GeoLocation location)
Called if a key moved within the search area.
|
void |
LocationCallback.onLocationResult(String key,
GeoLocation location)
This method is called with the current location of the key.
|
GeoQuery |
GeoFire.queryAtLocation(GeoLocation center,
double radius)
Returns a new Query object centered at the given location and with the given radius.
|
void |
GeoQuery.setCenter(GeoLocation center)
Sets the new center of this query and triggers new events if necessary.
|
void |
GeoFire.setLocation(String key,
GeoLocation location)
Sets the location for a given key.
|
void |
GeoFire.setLocation(String key,
GeoLocation location,
GeoFire.CompletionListener completionListener)
Sets the location for a given key.
|
Copyright © 2015 Firebase. All rights reserved.