public static interface LocationRequest.LocationRequestListener
A listener for receiving the results of the request.
Modifier and Type | Method and Description |
---|---|
void |
onError(LocationRequest.ErrorType location)
Called when a location can not be generated.
|
void |
onResult(MeridianLocation location)
Called when a location is generated.
|
void onResult(MeridianLocation location)
Called when a location is generated. This location may be old, make sure to check its age.
void onError(LocationRequest.ErrorType location)
Called when a location can not be generated.