Interface UserController.OnLocationReceivedCallback
- Enclosing class:
- UserController
public static interface UserController.OnLocationReceivedCallback
Callback interface for receiving location data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCallback which contains an error messagevoidonLocationReceived(com.google.firebase.firestore.GeoPoint location) Callback which contains a geopoint locations
-
Method Details
-
onLocationReceived
void onLocationReceived(com.google.firebase.firestore.GeoPoint location) Callback which contains a geopoint locations- Parameters:
location- Geopoint coordinates of a user's location
-
onError
Callback which contains an error message- Parameters:
message- description of the error
-