public interface TrackingListener
Modifier and Type | Method and Description |
---|---|
void |
onDataPublicationError(TrackingError error)
Triggered any time a batch of location points fail to be published.
|
void |
onDataPublished(TrackingPublishedEvent event)
Triggered each time a batch of location points are sent to Amazon Location Service successfully.
|
void |
onStop()
Triggered when the stopTracking() method is called.
|
void onStop()
void onDataPublished(TrackingPublishedEvent event)
event
- Contains data about the locations which were successfully published.void onDataPublicationError(TrackingError error)
error
- The reason publishing failed.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.