Interface LocationSharingManager.Listener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • onLocationSharingOnlineLocationsUpdated

         abstract void onLocationSharingOnlineLocationsUpdated(List<OnlineLocation> response)

        This callback is triggered periodically if there is a location sharing "receive" session in progress Notifies listeners when new online locations are received

        Parameters:
        response - List of OnlineLocation objects
      • onLocationSharingSharingRequestReceived

         abstract void onLocationSharingSharingRequestReceived(String token, String userName, LocationSharingDirection direction)

        Called when a new sharing request arrives (via push notifications)

        Parameters:
        token - : the token the user can subscribe to receive locations
        userName - : a "friendly" identifier used to identify the originator of the request
        direction - : the sharing direction of the request