A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/ios/api-reference/interface_a_g_s_feature_table.html below:

ArcGIS Runtime SDK for iOS: AGSFeatureTable Class Reference

A source for dataset containing geographic features or non-spatial records.

Subclasses represent a source for dataset that could include either geographic features or non-spatial records. You can query the dataset using attribute or spatial criteria, and if permitted, also edit the data. If the dataset contains geographic features you can display them on a map using AGSFeatureLayer.

Since
100
◆ cancelLoad

Cancels loading if it is in progress, otherwise it does nothing. This should be called carefully because other objects could be waiting for loadWithCompletion: or retryLoadWithCompletion: to complete and this will call them all back with the error of NSUserCancelledError

Since
100
◆ canDeleteFeature:

Indicates whether the source allows this particular feature to be deleted. The method first checks to verify if the source is capable of deleting any features in general. It also checks specific ownership-based access control policies of the source to see if the user attempting to perform the operation has persmissions to delete this particular feature.

Parameters
feature Can be nil, in which case, this method only checks if the source is capable of deleting any features in general
Returns
A boolean value
Since
100
◆ canUpdateFeature:

Indicates whether the source allows updating this particular feature. The method first checks to verify if the source is capable of updating any features in general. It also checks specific ownership-based access control policies of the source to see if the user attempting to perform the operation has persmissions to edit this patricular feature.

Parameters
feature Can be nil, in which case, this method only checks if the source is capable of updating any features in general
Returns
A boolean value
Since
100
◆ createFeature

Create a new, empty feature. Note, the new feature is only available in memory at this point, it is not committed to the dataset.

Returns
empty feature
Since
100
Note
The feature will need to be explicitly added to the dataset. See addFeature:completion:
◆ createFeatureWithAttributes:geometry: - (AGSFeature *) createFeatureWithAttributes: (NSDictionary< NSString *, id > *)  attributes geometry: (nullable AGSGeometry *)  geometry 

Create a new feature with the provided attribute values and, optionally, geometry. Note, the new feature is only available in memory at this point, it is not committed to the dataset.

Parameters
attributes for the feature geometry for the feature
Returns
feature
Since
100
Note
The feature will need to be explicitly added to the dataset. See addFeature:completion:
◆ doCancelLoading ◆ doStartLoading: - (void) doStartLoading: (BOOL)  retrying ◆ fieldForName: - (nullable AGSField *) fieldForName: (NSString *)  fieldName

Convenience method to getting a field object given its name

Parameters
fieldName The name of the field.
Returns
field
Since
100
◆ loadDidFinishWithError: - (void) loadDidFinishWithError: (nullable NSError *)  error ◆ loadWithCompletion: - (void) loadWithCompletion: (nullable void(^)(NSError *__nullable error))  completion requiredinherited

Loads data for the object asynchronously. The completion block is invoked upon completion.

You can call this method any number of times, however only one attempt is made to load the data. If it is already loading, it will just continue to load (i.e. not force a reload). If it has already loaded successfully, the completion block will be invoked right away. If it has already failed to load, the completion block will be invoked right away with error previously encountered. This method supports multiple callers and will call them all back on completion. However, each caller's completion block will be invoked once and only once.

Parameters
completion block that is invoked when object loads successfully or fails to load. An error is passed to the block if the object fails to load.
Note
The completion block is always invoked on the main thread.
Since
100
See also
- cancelLoad to cancel loading
- retryLoadWithCompletion: to force reload
◆ onLoadStatusChanged - (void) onLoadStatusChanged ◆ queryExtentWithParameters:completion:

Query the dataset to find the geographic extent covering matched features or records.

Parameters
parameters representing the query criteria completion The block that is called when the query is complete
Returns
operation which can be canceled
See also
AGSFeatureServiceSessionType
Since
100.2
◆ queryFeatureCountWithParameters:completion: - (id<AGSCancelable>) queryFeatureCountWithParameters: (AGSQueryParameters *)  parameters completion: (void(^)(NSInteger count, NSError *__nullable error))  completion 

Query the dataset to find the number of matched features or records.

Parameters
parameters representing the query criteria completion The block that is called when the query is complete
Returns
operation which can be canceled
See also
AGSFeatureServiceSessionType
Since
100.2
◆ queryFeaturesWithParameters:completion:

Query the dataset to find specific features or records.

Parameters
parameters representing the query criteria completion The block that is called when the query is complete
Returns
operation which can be canceled
See also
AGSFeatureServiceSessionType
Since
100
◆ queryStatisticsWithParameters:completion:

Query the dataset to compute statistics on matched features or records.

Parameters
parameters representing the query criteria completion The block that is called when the query is complete
Returns
operation which can be canceled
See also
AGSFeatureServiceSessionType
Since
100.2
◆ retryLoadWithCompletion: - (void) retryLoadWithCompletion: (nullable void(^)(NSError *__nullable error))  completion requiredinherited

Tries to reload when an object has failed to load. This method should be called judiciously. It should be called when:

  1. you didn't have network connectivity earlier when it failed and you want to retry now that you have connectivity
  2. the server was down earlier when it failed and you want to retry
  3. the request is taking too long and you want to cancel it and retry, in which case you will first call cancelLoad and then this method

If the data hasn't started loading, it will start loading. If it is already loading, it will just continue to load. If it has already loaded successfully, calls back right away. If it has already failed to load, tries again. This method supports multiple callers and will call them all back on completion. However, each caller's completion block will be invoked once and only once.

Parameters
completion block that is invoked when object loads successfully or fails to load. An error is passed to the block if the object fails to load.
Note
The completion block is always invoked on the main thread.
Since
100
◆ canAddFeature

Indicates whether the source supports adding new features.

Since
100
◆ canEditGeometry

Indicates whether the source supports updating geometry of existing features.

Since
100
◆ displayName - (NSString*) displayName readwritenonatomiccopy

User-friendly name that can be displayed in the UI (for example in a Table of Contents)

Since
100.3
◆ editable

Indicates whether the dataset can be edited. For details on which fine-grained editing capabilites are supported, refer to canUpdateFeature: and canDeleteFeature:

Since
100
◆ extent

The extent of the dataset.

Since
100
◆ featureLayer ◆ fields

Array of AGSField objects representing the fields (columns) in the dataset.

See also
AGSField
Since
100
◆ geometryType

The type of geometry used by geographic feautres. Only applicable if hasGeometry is true.

Since
100
◆ hasGeometry

Indicates whether the dataset contains a geometry field (column). If YES, the dataset contains geographic features. If NO, the dataset contains non-spatial records, similar to a database table.

Since
100
◆ hasM

Indicates whether features may contain M values

Since
100.2
◆ hasZ

Indicates whether features may contain Z values

Since
100.2
◆ layer ◆ loadError readnonatomicstronginherited

The error that was encountered during the most recent load operation. Will be nil if the operation succeeded.

Since
100
◆ loadStatus readrequirednonatomicassigninherited

Status of the load operation.

Since
100
◆ numberOfFeatures - (NSInteger) numberOfFeatures readnonatomicassign

The total number of features or records in the dataset.

Since
100
◆ popupDefinition readwritenonatomicstronginherited

The AGSPopupDefinition associated with the popup source. This property will be nil if an error occurs or if the popup source is not associated with a popup definition.

Since
100
◆ popupEnabled readwriterequirednonatomicassigninherited

Indicates whether popups are enabled on this source.

Since
100
◆ spatialReference

The spatial reference of the dataset.

Since
100
◆ tableName

Name of the dataset.

Since
100

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4