public static final enum

ArcGISFeatureLayer.MODE

extends Enum<ArcGISFeatureLayer.MODE>
java.lang.Object
   ↳ java.lang.Enum<com.esri.android.map.ags.ArcGISFeatureLayer.MODE>
     ↳ com.esri.android.map.ags.ArcGISFeatureLayer.MODE

Class Overview

The feature layer can work under 3 modes. By default, the layer works on SNAPSHOT mode. You can change it when instantiating the layer.

Summary

Enum Values
ArcGISFeatureLayer.MODE  ONDEMAND  In ONDEMAND mode, the feature layer retrieves features from the server when needed based on the following criteria :
  • Features within the current spatial extent. 
  • 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)
    static final MODE[] values()
    [Expand]
    Inherited Methods
    From class java.lang.Enum
    From class java.lang.Object
    From interface java.lang.Comparable

    Enum Values

    public static final ArcGISFeatureLayer.MODE ONDEMAND

    In ONDEMAND mode, the feature layer retrieves features from the server when needed based on the following criteria :

  • Features within the current spatial extent.
  • Features matching the definition expression.

  • public static final ArcGISFeatureLayer.MODE SELECTION

    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.

    public static final 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. Definition expressions are honored in this mode.

    Public Methods

    public static ArcGISFeatureLayer.MODE valueOf (String name)

    Parameters
    name String
    Returns
    ArcGISFeatureLayer.MODE

    public static final MODE[] values ()

    Returns
    MODE[]