public interface

LayerInfoItem

com.esri.core.map.LayerInfoItem
Known Indirect Subclasses

Class Overview

This interface should be implemented by classes that are used to configure dynamic layers in a dynamic map service. The Id property is the ID of this layer within a dynamic map service.

Summary

Public Methods
abstract int getId()
Gets the layer id.
abstract void setId(int id)
Sets the layer id.
abstract String toJson()
Create a JSON string that can be used to send instances of this class to a REST end point.

Public Methods

public abstract int getId ()

Gets the layer id.

Returns
int the id

public abstract void setId (int id)

Sets the layer id.

Parameters
id int: the new id

public abstract String toJson ()

Create a JSON string that can be used to send instances of this class to a REST end point.

Returns
String the string
Throws
Exception the exception