-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.PTRListener
public interface LocationSharingManager.Listener implements PTRListener
-
-
Method Summary
Modifier and Type Method Description 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 abstract void
onLocationSharingSharingRequestReceived(String token, String userName, LocationSharingDirection direction)
Called when a new sharing request arrives (via push notifications) -
-
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 locationsuserName
- : a "friendly" identifier used to identify the originator of the requestdirection
- : the sharing direction of the request
-
-
-
-