public interface LocationCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onCancelled(com.google.firebase.database.DatabaseError databaseError)
Called if the callback could not be added due to failure on the server or security rules.
|
void |
onLocationResult(String key,
GeoLocation location)
This method is called with the current location of the key.
|
void onLocationResult(String key, GeoLocation location)
key - The key whose location we are gettinglocation - The location of the keyvoid onCancelled(com.google.firebase.database.DatabaseError databaseError)
databaseError - The error that occurredCopyright © 2017 Firebase. All rights reserved.