...
It’s also possible to check if a particular event or error is being submitted at the moment using the
- (BOOL)isEventSubmissionInProgress:(nonnull NSString *)reportId
and
- (BOOL)isErrorSubmissionInProgress:(nonnull NSString *)reportId
methods.
To check for reports that haven’t been submitted yet, use the
- (BOOL)hasPendingMapEvents
or hasPendingMapReports
or
- (BOOL)hasPendingMapErrors
methods.
If either of these methods returns true, the corresponding reports can be submitted using the
- (void)submitPendingMapEvents
and submitPendingMapReports
and
- (void)submitPendingMapErrors
methods.
Local copies of reports can be removed using the
- (void)removeMapEvent
and removeMapReport
:(nonnull NSString *)reportId
and
- (void)removeMapError:(nonnull NSString *)reportId
methods.
To get the number of existing reports, the getMapEventCount
and getMapErrorCount
- (NSInteger)mapEventsCount
and
- (NSInteger)mapErrorsCount
methods can be used. An existing report can be retrieved by its index using the getMapEvent
and getMapError
- (nullable NMMapReport *)mapEventWithIndex:(NSInteger)index
and
- (nullable NMMapReport *)mapErrorWithIndex:(NSInteger)index
methods.