getUpdatedFeatures method

Future<FeatureQueryResult> getUpdatedFeatures()

Returns the features updated since the last sync.

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

Return Value: The task object representing the asynchronous retrieval of features updated since last sync. The value of the task result is a FeatureQueryResult object.

Implementation

Future<FeatureQueryResult> getUpdatedFeatures() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_getUpdatedFeatures(
      _handle,
      errorHandler,
    );
  });
  return taskHandle.toFuture(
    (element) => element.getValueAsFeatureQueryResult()!,
  );
}