getDeletedFeaturesCount method

Future<int> getDeletedFeaturesCount()

Returns the number of features deleted since the last sync.

For mobile geodatabases created by ArcGIS Pro, this method returns 0 because there is no concept of syncing.

Return Value: The task object representing the asynchronous retrieval of features deleted since last sync. The value of the task result is int64_t.

Implementation

Future<int> getDeletedFeaturesCount() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_getDeletedFeaturesCount(
        _handle, errorHandler);
  });
  return taskHandle.toFuture((element) => element.getValueAsInt()!);
}