Skip To Content ArcGIS for Developers Sign In Dashboard

<ServiceTypes.h> - Service Enums

Collection of Service enumerations. More...

Header: #include <ServiceTypes.h>

Types

enum class AntialiasingMode { None, Fastest, Fast, Normal, Best }
enum class DomainType { Unknown, CodedValueDomain, InheritedDomain, RangeDomain }
enum class DrawingTool { Unknown, AutoCompletePolygon, Circle, DownArrow, Ellipse, …, UpArrow }
enum class FieldType { Unknown, Int16, Int32, GUID, Float32, …, Xml }
enum class IdInfoType { IdInfo, MapServiceLayerIdInfo, FeatureServiceLayerIdInfo, Unknown }
enum class LabelingPlacement { Unknown, LineAboveAfter, LineAboveAlong, LineAboveBefore, LineAboveEnd, …, PolygonAlwaysHorizontal }
enum class RelationshipCardinality { Unknown, ManyToMany, OneToMany, OneToOne }
enum class RelationshipRole { Unknown, Destination, Origin }
enum class ServiceType { Unknown, FeatureService, ImageService, MapService }
enum class TextAntialiasingMode { None, Normal, Force }
enum class TileImageFormat { PNG, PNG8, PNG24, PNG32, JPG, …, Unknown }
enum class TimeRelation { Unknown, Overlaps, AfterStartOverlapsEnd, OverlapsStartWithinEnd }
enum class TimeUnit { Unknown, Centuries, Days, Decades, Hours, …, Years }
enum class VersionAccess { Public, Protected, Private }

Detailed Description

Type Documentation

enum class AntialiasingMode

Enumerates the antialiasing mode for drawing items in the map.

The AntialiasingMode can be one of:

ConstantValueDescription
AntialiasingMode::None0No antialiasing is performed.
AntialiasingMode::Fastest1Minimal antialiasing is performed, optimized for speed.
AntialiasingMode::Fast2Some antialiasing is performed, optimized for speed with better quality than Fastest.
AntialiasingMode::Normal3A good balance of speed and quality.
AntialiasingMode::Best4The best quality antialiasing. This option takes the longest to render.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class DomainType

Enumerates the type of domain.

The DomainType can be one of:

ConstantValueDescription
DomainType::Unknown-1Unknown domain type.
DomainType::CodedValueDomain0The coded value domain type.
DomainType::InheritedDomain1The inherited domain type.
DomainType::RangeDomain2The range domain type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class DrawingTool

Enumerates the drawing tool that could be used to draw a feature in an editing application.

The DrawingTool can be one of:

ConstantValueDescription
DrawingTool::Unknown-1Unknown drawing tool.
DrawingTool::AutoCompletePolygon0The auto complete polygon tool.
DrawingTool::Circle1The circle tool.
DrawingTool::DownArrow2The down arrow tool.
DrawingTool::Ellipse3The ellipse tool.
DrawingTool::FreeHand4The free hand tool.
DrawingTool::LeftArrow5The left arrow tool.
DrawingTool::Line6The line tool.
DrawingTool::None7No tool.
DrawingTool::Point8The point tool.
DrawingTool::Polygon9The polygon tool.
DrawingTool::Rectangle10The rectangle tool.
DrawingTool::RightArrow11The right arrow tool.
DrawingTool::Text12The text tool.
DrawingTool::Triangle13The triangle tool.
DrawingTool::UpArrow14The up arrow tool.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class FieldType

Enumerates the type of value stored in a field.

The FieldType can be one of:

ConstantValueDescription
FieldType::Unknown-1Unknown field type.
FieldType::Int160Small integer type.
FieldType::Int321Integer type.
FieldType::GUID3GUID type.
FieldType::Float324Float type.
FieldType::Float645Double type.
FieldType::Date6DateTime type (in case of shapefiles: only date, not time).
FieldType::Text7Text type.
FieldType::OID8ObjectID type.
FieldType::GlobalID9GlobalID type.
FieldType::Blob10Blob type.
FieldType::Geometry11Geometry type.
FieldType::Raster12Raster type.
FieldType::Xml13XML type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class IdInfoType

Enumerates the type of IdInfo.

The IdInfoType can be one of:

ConstantValueDescription
IdInfoType::IdInfo0Simple IdInfo with ID and name.
IdInfoType::MapServiceLayerIdInfo1MapServiceLayerIdInfo with more info: default visibility, min/max scales, parent layer ID, sublayer IDs.
IdInfoType::FeatureServiceLayerIdInfo2FeatureServiceLayerIdInfo with more info: default visibility, min/max scales, geometry type, service type.
IdInfoType::Unknown-1Unknown IdInfo type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class LabelingPlacement

Enumerates the placement of a label in relation to a geometry.

The LabelingPlacement can be one of:

ConstantValueDescription
LabelingPlacement::Unknown-1Unknown.
LabelingPlacement::LineAboveAfter0Above and after a line.
LabelingPlacement::LineAboveAlong1Above and along a line.
LabelingPlacement::LineAboveBefore2Above and before a line.
LabelingPlacement::LineAboveEnd3Above and at the end of a line.
LabelingPlacement::LineAboveStart4Above and at the start of a line.
LabelingPlacement::LineBelowAfter5Below and after a line.
LabelingPlacement::LineBelowAlong6Below and along a line.
LabelingPlacement::LineBelowBefore7Below and before a line.
LabelingPlacement::LineBelowEnd8Below and at the end of a line.
LabelingPlacement::LineBelowStart9Below and at the start of a line.
LabelingPlacement::LineCenterAfter10After a line in the vertical center.
LabelingPlacement::LineCenterAlong11Along a line in the vertical center.
LabelingPlacement::LineCenterBefore12Before a line in the vertical center.
LabelingPlacement::LineCenterEnd13At the end of a line in the vertical center.
LabelingPlacement::LineCenterStart14At the start of a line in the vertical center.
LabelingPlacement::PointAboveCenter15Above and in the horizontal center of the point.
LabelingPlacement::PointAboveLeft16Above and to the left of the point.
LabelingPlacement::PointAboveRight17Above and to the right of the point.
LabelingPlacement::PointBelowCenter18Below and in the horizontal center of the point.
LabelingPlacement::PointBelowLeft19Below and to the left of the point.
LabelingPlacement::PointBelowRight20Below and to the right of the point.
LabelingPlacement::PointCenterCenter21In the center of the point.
LabelingPlacement::PointCenterLeft22In the vertical center and to the left of the point.
LabelingPlacement::PointCenterRight23In the vertical center and to the right of the point.
LabelingPlacement::PolygonAlwaysHorizontal24Above the polygon and in the horizontal center.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class RelationshipCardinality

Enumerates the relationship cardinality.

The RelationshipCardinality can be one of:

ConstantValueDescription
RelationshipCardinality::Unknown-1Unknown relationship cardinality.
RelationshipCardinality::ManyToMany0Many-to-many.
RelationshipCardinality::OneToMany1One-to-many.
RelationshipCardinality::OneToOne2One-to-one.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

enum class RelationshipRole

Enumerates the relationship role.

The RelationshipRole can be one of:

ConstantValueDescription
RelationshipRole::Unknown-1Unknown relationship role.
RelationshipRole::Destination0Destination.
RelationshipRole::Origin1Origin.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

enum class ServiceType

Enumerates the type of ArcGIS service.

The ServiceType can be one of:

ConstantValueDescription
ServiceType::Unknown-1Unknown service type.
ServiceType::FeatureService0Feature service type.
ServiceType::ImageService1Image service type.
ServiceType::MapService2Map service type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class TextAntialiasingMode

Enumerates the antialiasing mode for drawing text in the map.

The TextAntialiasingMode can be one of:

ConstantValueDescription
TextAntialiasingMode::None0No text antialiasing is performed.
TextAntialiasingMode::Normal1Antialiasing is performed as determined by the font. Each individual font has parameters created within it by the font author that define which sizes the font should draw with antialiasing.
TextAntialiasingMode::Force2Text is always drawn with antialiasing, regardless of the individual font's parameters.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class TileImageFormat

Enumerates image formats, the method for encoding a raster image, for images from a map tile source.

The TileImageFormat can be one of:

ConstantValueDescription
TileImageFormat::PNG0PNG
TileImageFormat::PNG81PNG8
TileImageFormat::PNG242PNG24
TileImageFormat::PNG323PNG32
TileImageFormat::JPG4JPG
TileImageFormat::MIXED5Mixed
TileImageFormat::LERC6LERC
TileImageFormat::Unknown-1Unknown

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class TimeRelation

Enumerates the time relation.

The TimeRelation can be one of:

ConstantValueDescription
TimeRelation::Unknown-1Unknown.
TimeRelation::Overlaps0Overlaps.
TimeRelation::AfterStartOverlapsEnd1After start overlaps end.
TimeRelation::OverlapsStartWithinEnd2Overlaps start within end.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class TimeUnit

Enumerates the temporal unit of measurement.

The TimeUnit can be one of:

ConstantValueDescription
TimeUnit::Unknown-1Unknown.
TimeUnit::Centuries0Centuries.
TimeUnit::Days1Days.
TimeUnit::Decades2Decades.
TimeUnit::Hours3Hours.
TimeUnit::Milliseconds4Milliseconds.
TimeUnit::Minutes5Minutes.
TimeUnit::Months6Months.
TimeUnit::Seconds7Seconds.
TimeUnit::Weeks8Weeks.
TimeUnit::Years9Years.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class VersionAccess

The access permissions of a version in a branch-versioned service.

The VersionAccess can be one of:

ConstantValueDescription
VersionAccess::Public0The version is public. (0)

Any portal user can view and edit the version.

ConstantValueDescription
VersionAccess::Protected1The version is protected. (1)

Any portal user can view, but only the version owner, feature layer owner, and portal administrator can edit the version.

ConstantValueDescription
VersionAccess::Private2The version is private. (2)

Only the version owner, feature layer owner, and portal administrator can view and edit the version.

This enum was introduced or modified in Esri::ArcGISRuntime 100.9.


Feedback on this topic?