java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.esri.android.map.ags.ArcGISFeatureLayer.MODE |
The feature layer can work under 3 modes. By default, the layer works on SNAPSHOT mode. You can change it when instantiating the layer.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ArcGISFeatureLayer.MODE | ONDEMAND | In ONDEMAND mode, the feature layer retrieves features from the server when needed based on the following
criteria : |
|||||||||
ArcGISFeatureLayer.MODE | SELECTION | In SELECTION mode, features are retrieved from the server only when they are selected. | |||||||||
ArcGISFeatureLayer.MODE | SNAPSHOT | In SNAPSHOT mode, the feature layer retrieves all the features from the associated layer resource and displays them as graphics on the client. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static ArcGISFeatureLayer.MODE | valueOf(String name) | ||||||||||
final static MODE[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
In ONDEMAND mode, the feature layer retrieves features from the server when needed based on the following criteria :
In SELECTION mode, features are retrieved from the server only when they are selected. Features are available on the client only while they are selected. To work with selected features, you need to call the #selectFeatures method.
In SNAPSHOT mode, the feature layer retrieves all the features from the associated layer resource and displays them as graphics on the client. Definition expressions are honored in this mode.