getAddedFeaturesCount method

Future<int> getAddedFeaturesCount()

Returns the number of features added 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 added since last sync. The value of the task result is int64_t.

Implementation

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