|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PositionCallback
Callback interface containing methods called by the Geolocator
extension when the result of an asynchronous geolocation request is
available.
Method Summary | |
---|---|
void |
onFailure(int errorCode)
Called when a geolocation request fails. |
void |
onSuccess(Position position)
Called when a geolocation request succeeds. |
Method Detail |
---|
void onSuccess(Position position)
position
- a Position
object holding the position data.void onFailure(int errorCode)
PositionError
for the error
code specifications.
errorCode
- the error code for the failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |