public interface LocationCallback
限定符和类型 | 方法和说明 |
---|---|
void |
onCancelled(com.wilddog.client.WilddogError wilddogError)
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. location will be null if there is no location
stored in WildGeo for the key.
|
void onLocationResult(String key, GeoLocation location)
key
- The key whose location we are gettinglocation
- The location of the keyvoid onCancelled(com.wilddog.client.WilddogError wilddogError)
wilddogError
- The error that occurredCopyright © 2015 Wilddog. All rights reserved.