public interface LocationListener
Modifier and Type | Method and Description |
---|---|
void |
localyticsDidTriggerRegions(java.util.List<Region> regions,
Region.Event event)
Callback for when regions have been triggered with a particular event
|
void |
localyticsDidUpdateLocation(android.location.Location location)
Callback that the LocationManager has received an update
|
void |
localyticsDidUpdateMonitoredGeofences(java.util.List<CircularRegion> added,
java.util.List<CircularRegion> removed)
Callback for when geofence monitoring has been updated
|
void localyticsDidUpdateLocation(@Nullable android.location.Location location)
location
- Location object containg the new location informationvoid localyticsDidTriggerRegions(@NonNull java.util.List<Region> regions, @NonNull Region.Event event)
regions
- The list of regions that have been triggeredevent
- The event that triggered the regions Region.Event
void localyticsDidUpdateMonitoredGeofences(@NonNull java.util.List<CircularRegion> added, @NonNull java.util.List<CircularRegion> removed)
added
- List of geofences for which monitoring has begunremoved
- List of geofences for which monitoring has stopped