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