<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 EsriVectorTilesDownloadOption { UseOriginalService, UseReducedFontsService }
enum class FeatureServiceSessionType { Transient, Persistent }
enum class FieldType { Unknown, Int16, Int32, GUID, Float32, …, Xml }
enum class IdInfoType { IdInfo, MapServiceLayerIdInfo, FeatureServiceLayerIdInfo, Unknown }
enum class LabelingPlacement { Automatic, Unknown, LineAboveAfter, LineAboveAlong, LineAboveBefore, …, PolygonAlwaysHorizontal }
enum class RelationshipCardinality { Unknown, ManyToMany, OneToMany, OneToOne }
enum class RelationshipRole { Unknown, Destination, Origin }
enum class ServiceCurveGeometryMode { DensifyCurves, TrueCurveClient }
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

[since Esri::ArcGISRuntime 100.0] 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.

[since 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.

[since 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.

[since Esri::ArcGISRuntime 100.10] enum class EsriVectorTilesDownloadOption

Enumerates options for downloading an Esri vector tiled basemap service.

When taking an Esri vector tiled basemap service offline (e.g. to create a VectorTileCache on your device), you can choose from different versions of the service depending on your use case.

Primary considerations are the download speed and the size of the resulting .vtpk file. Among other things, file size is influenced by the amount of fonts downloaded from the service. Esri vector tiled basemap layers make use of fonts as part of their style resources - see the Vector Tile Style documentation. When you take a vector tiled layer offline, these fonts are downloaded as part of the VectorTileCache.

Esri services also offer an alternative version with a reduced font package size which will reduce the download size of a vtpk by around 80 Mb. You can view a set of vector tile styles which use the reduced font services here. If you are creating a web map that is only intended for taking maps offline and not for online-viewing, these "for export" versions of the services are recommended.

This enumeration describes options for controlling which set of fonts are downloaded. Note that these options only apply to Esri vector tile basemap services.

The EsriVectorTilesDownloadOption can be one of:

ConstantValueDescription
EsriVectorTilesDownloadOption::UseOriginalService0The complete set of vector tile resources for the original service, including the full set of fonts, will be downloaded. Downloading all font resources increases the download size of a .vtpk. However, this option ensures that the offline vector tile layer displays the same as the original online service.
EsriVectorTilesDownloadOption::UseReducedFontsService1An alternative service that uses a reduced set of font resources, supporting a limited set of language characters, will be downloaded. Downloading the smaller set of font resources reduces the download size of a .vtpk by around 80 Mb. This omits the large Arial Unicode font that is used to support many characters for the full world basemap. This makes this option unsuitable for some locales or when your offline vector tiled layer includes certain character sets. For example, this option will not display Chinese, Japanese, Thai, Korean or Georgian characters. You should confirm that this option is suitable for your specific use-case.

You can view a set of vector tile styles which use the reduced font services here. This option is not recommended for Esri basemap services that do not have an equivalent "for export" version.

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

[since Esri::ArcGISRuntime 100.10] enum class FeatureServiceSessionType

An enumeration of the session types that control how multiple users access branch versioned data.

Session types—transient and persistent—let you control how multiple viewers and editors access branch versioned feature services. By default, a web map or web scene with branch versioned feature services (a ServiceGeodatabase version) loads as a FeatureServiceSessionType::Transient type; you can change this type to FeatureServiceSessionType::Persistent at the map or scene level when you load the map or scene.

When you switch the ServiceGeodatabase version being used via ServiceGeodatabase::switchVersionAsync(QString), a read operation is started on the new version before releasing the previous version. If acquiring a shared lock on the new version fails (for example, if another user is editing the version), an error is raised. This behavior allows you to keep the user connected to the original version when the version they want is not yet available.

For additional ways to manage multiple viewers and editors in branch versioned data, such as using multiple tiers of editors, see the ArcGIS Pro discussion on branch version scenarios.

The FeatureServiceSessionType can be one of:

ConstantValueDescription
FeatureServiceSessionType::Transient0- A momentary session is used during queries and edit operations. This is the default session type. The server creates an exclusive lock upon an editor's ServiceGeodatabase::applyEditsAsync operation and holds the lock only for the duration that it takes that operation to occur. An exclusive lock prevents readers and editors from accessing (connecting to and viewing) the rows affected by the edit in the ServiceGeodatabase version during this time, but they can access (connect to, view, query, and edit) other rows in the ServiceGeodatabase version. Use the transient type when concurrency is more important than data consistency between queries or between concurrent users.
FeatureServiceSessionType::Persistent1- A session is held open as long as tables are actively reading or writing.

If one or more read operations were already being performed on the ServiceFeatureTable when an edit operation began (if a shared lock was already in place), then the shared lock becomes an exclusive lock. When all edit operations are applied successfully, the exclusive lock returns to being a shared lock.

A call to ServiceGeodatabase::closeAsync will release an exclusive lock.

Note that if the ServiceGeodatabase version requested is the default version, no exclusive lock will be acquired.

Edit operations that trigger the locks described above:

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

[since 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.

[since 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.

[since 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::Automatic-2Default position for the label, dependent on the type of feature being labeled.
LabelingPlacement::Unknown-1Preferred placement position has not been specified.
LabelingPlacement::LineAboveAfter0Lower-left corner of label is at final geometry coordinate; label extrapolates the last geometry segment.
LabelingPlacement::LineAboveAlong1Lower midpoint of label prefers the midpoint of the geometry; label follows the geometry segments.
LabelingPlacement::LineAboveBefore2Lower right corner of label is at first geometry coordinate; label extrapolates the first geometry segment.
LabelingPlacement::LineAboveEnd3Lower right corner of label is at final geometry coordinate; label follows the last geometry segments.
LabelingPlacement::LineAboveStart4Lower left corner of label is at first geometry coordinate; label follows the first geometry segments.
LabelingPlacement::LineBelowAfter5Upper left corner of label is at final geometry coordinate; label extrapolates the last geometry segment.
LabelingPlacement::LineBelowAlong6Upper midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.
LabelingPlacement::LineBelowBefore7Upper right corner of label is at first geometry coordinate; label extrapolates the first geometry segment.
LabelingPlacement::LineBelowEnd8Upper right corner of label is at final geometry coordinate; label follows the last geometry segments.
LabelingPlacement::LineBelowStart9Upper left corner of label is at first geometry coordinate, label follows the first geometry segments.
LabelingPlacement::LineCenterAfter10Left midpoint of label is at final geometry coordinate; label extrapolates the last geometry segment.
LabelingPlacement::LineCenterAlong11Center of label prefers the midpoint of the geometry; label follows the geometry segments.
LabelingPlacement::LineCenterBefore12Right midpoint of label is at first geometry coordinate; label extrapolates the first geometry segment.
LabelingPlacement::LineCenterEnd13Right midpoint of label is at final geometry coordinate; label follows the last geometry segments.
LabelingPlacement::LineCenterStart14Left midpoint of label is at first geometry coordinate; label follows the first geometry segments.
LabelingPlacement::PointAboveCenter15Lower midpoint of label is offset north of point symbol.
LabelingPlacement::PointAboveLeft16Lower-right corner of the label is offset northwest of point symbol.
LabelingPlacement::PointAboveRight17Lower left corner of the label is offset North-east of point symbol.
LabelingPlacement::PointBelowCenter18Upper midpoint of label is offset South of point symbol.
LabelingPlacement::PointBelowLeft19Upper right corner of the label is offset South-west of point symbol.
LabelingPlacement::PointBelowRight20Upper left corner of the label is offset South-east of point symbol.
LabelingPlacement::PointCenterCenter21Center of label is placed on geometry point.
LabelingPlacement::PointCenterLeft22Right midpoint of label is offset West of point symbol.
LabelingPlacement::PointCenterRight23Left midpoint of label is offset East of point symbol.
LabelingPlacement::PolygonAlwaysHorizontal24Center of label is as far inside polygon as possible.

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

[since Esri::ArcGISRuntime 100.1] 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.

[since 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.

[since Esri::ArcGISRuntime 100.12] enum class ServiceCurveGeometryMode

How curve geometries are fetched from and sent to services that support curves.

By default, curve geometries are not fetched from services that support curves, meaning that densified versions of any curve geometries are fetched from the service. By default, this API is not a true curve-enabled client when sending updates to services that support curves. Use ArcGISRuntimeEnvironment::serviceCurveGeometryMode to change this default behavior.

For details of curve support in services, see ArcGIS REST API documentation.

The ServiceCurveGeometryMode can be one of:

ConstantValueDescription
ServiceCurveGeometryMode::DensifyCurves0Densified versions of geometries with curves are fetched. This is the default.
ServiceCurveGeometryMode::TrueCurveClient2Curve geometries are fetched, and this API acts as a true-curve client when editing.

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

[since Esri::ArcGISRuntime 100.0] 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.

[since 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.

[since 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.

[since 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.

[since 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.

[since Esri::ArcGISRuntime 100.9] 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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.