public interface LocationCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onCancelled(com.firebase.client.FirebaseError firebaseError)
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.firebase.client.FirebaseError firebaseError)
firebaseError - The error that occurredCopyright © 2015 Firebase. All rights reserved.