Interface ReportCollector
Warning
This feature is available in the NaviKit SDK version.
Package world.mappable.maps.recording
interface ReportCollector
Summary
Methods
Type and modifiers |
Method and Description |
java.util.List<ReportData> |
reports() |
boolean |
isValid() |
Methods
reports
@NonNull |
Get all stored reports.
The reports are not stored forever. There is an internal limit on the total size of all reports so older reports will be removed if space is needed for a newer report. The reports are sorted by their start time: the oldest report is first, the newest is last.
isValid
boolean isValid() |
Tells if this ReportCollector is valid or not.
Any other method (except for this one) called on an invalid ReportCollector will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.