Interface UserController.OnLocationReceivedCallback

Enclosing class:
UserController

public static interface UserController.OnLocationReceivedCallback
Callback interface for receiving location data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String message)
    Callback which contains an error message
    void
    onLocationReceived(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

      void onError(String message)
      Callback which contains an error message
      Parameters:
      message - description of the error