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, FetchCurves, 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
enum class AntialiasingMode
Enumerates the antialiasing mode for drawing items in the map.
The AntialiasingMode can be one of:
Constant | Value | Description |
---|---|---|
AntialiasingMode::None | 0 | No antialiasing is performed. |
AntialiasingMode::Fastest | 1 | Minimal antialiasing is performed, optimized for speed. |
AntialiasingMode::Fast | 2 | Some antialiasing is performed, optimized for speed with better quality than Fastest. |
AntialiasingMode::Normal | 3 | A good balance of speed and quality. |
AntialiasingMode::Best | 4 | The 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:
Constant | Value | Description |
---|---|---|
DomainType::Unknown | -1 | Unknown domain type. |
DomainType::CodedValueDomain | 0 | The coded value domain type. |
DomainType::InheritedDomain | 1 | The inherited domain type. |
DomainType::RangeDomain | 2 | The 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:
Constant | Value | Description |
---|---|---|
DrawingTool::Unknown | -1 | Unknown drawing tool. |
DrawingTool::AutoCompletePolygon | 0 | The auto complete polygon tool. |
DrawingTool::Circle | 1 | The circle tool. |
DrawingTool::DownArrow | 2 | The down arrow tool. |
DrawingTool::Ellipse | 3 | The ellipse tool. |
DrawingTool::FreeHand | 4 | The free hand tool. |
DrawingTool::LeftArrow | 5 | The left arrow tool. |
DrawingTool::Line | 6 | The line tool. |
DrawingTool::None | 7 | No tool. |
DrawingTool::Point | 8 | The point tool. |
DrawingTool::Polygon | 9 | The polygon tool. |
DrawingTool::Rectangle | 10 | The rectangle tool. |
DrawingTool::RightArrow | 11 | The right arrow tool. |
DrawingTool::Text | 12 | The text tool. |
DrawingTool::Triangle | 13 | The triangle tool. |
DrawingTool::UpArrow | 14 | The up arrow tool. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.0.
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:
Constant | Value | Description |
---|---|---|
EsriVectorTilesDownloadOption::UseOriginalService | 0 | The 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::UseReducedFontsService | 1 | An 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.
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::switchVersion(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:
Constant | Value | Description |
---|---|---|
FeatureServiceSessionType::Transient | 0 | - 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::applyEdits 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::Persistent | 1 | - 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::close 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:
- FeatureTable::addFeature(Feature)
- FeatureTable::addFeatures(QStringList)
- FeatureTable::deleteFeature(Feature)
- FeatureTable::deleteFeatures(QStringList)
- FeatureTable::updateFeature(Feature)
- FeatureTable::updateFeatures(QStringList)
- ArcGISFeature::addAttachment(QString, QString, ByteArrayStruct)
- ArcGISFeature::updateAttachment(Attachment, QString, QString, ByteArrayStruct)
- ArcGISFeature::deleteAttachment(Attachment)
- ArcGISFeature::deleteAttachments(QStringList)
This enum was introduced or modified in Esri::ArcGISRuntime 100.10.
enum class FieldType
Enumerates the type of value stored in a field.
The FieldType can be one of:
Constant | Value | Description |
---|---|---|
FieldType::Unknown | -1 | Unknown field type. |
FieldType::Int16 | 0 | Small integer type. |
FieldType::Int32 | 1 | Integer type. |
FieldType::GUID | 3 | GUID type. |
FieldType::Float32 | 4 | Float type. |
FieldType::Float64 | 5 | Double type. |
FieldType::Date | 6 | DateTime type (in case of shapefiles: only date, not time). |
FieldType::Text | 7 | Text type. |
FieldType::OID | 8 | ObjectID type. |
FieldType::GlobalID | 9 | GlobalID type. |
FieldType::Blob | 10 | Blob type. |
FieldType::Geometry | 11 | Geometry type. |
FieldType::Raster | 12 | Raster type. |
FieldType::Xml | 13 | XML 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:
Constant | Value | Description |
---|---|---|
IdInfoType::IdInfo | 0 | Simple IdInfo with ID and name. |
IdInfoType::MapServiceLayerIdInfo | 1 | MapServiceLayerIdInfo with more info: default visibility, min/max scales, parent layer ID, sublayer IDs. |
IdInfoType::FeatureServiceLayerIdInfo | 2 | FeatureServiceLayerIdInfo with more info: default visibility, min/max scales, geometry type, service type. |
IdInfoType::Unknown | -1 | Unknown 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:
Constant | Value | Description |
---|---|---|
LabelingPlacement::Automatic | -2 | Default position for the label, dependent on the type of feature being labeled. |
LabelingPlacement::Unknown | -1 | Preferred placement position has not been specified. |
LabelingPlacement::LineAboveAfter | 0 | Lower-left corner of label is at final geometry coordinate; label extrapolates the last geometry segment. |
LabelingPlacement::LineAboveAlong | 1 | Lower midpoint of label prefers the midpoint of the geometry; label follows the geometry segments. |
LabelingPlacement::LineAboveBefore | 2 | Lower right corner of label is at first geometry coordinate; label extrapolates the first geometry segment. |
LabelingPlacement::LineAboveEnd | 3 | Lower right corner of label is at final geometry coordinate; label follows the last geometry segments. |
LabelingPlacement::LineAboveStart | 4 | Lower left corner of label is at first geometry coordinate; label follows the first geometry segments. |
LabelingPlacement::LineBelowAfter | 5 | Upper left corner of label is at final geometry coordinate; label extrapolates the last geometry segment. |
LabelingPlacement::LineBelowAlong | 6 | Upper midpoint of label prefers the midpoint of the geometry, label follows the geometry segments. |
LabelingPlacement::LineBelowBefore | 7 | Upper right corner of label is at first geometry coordinate; label extrapolates the first geometry segment. |
LabelingPlacement::LineBelowEnd | 8 | Upper right corner of label is at final geometry coordinate; label follows the last geometry segments. |
LabelingPlacement::LineBelowStart | 9 | Upper left corner of label is at first geometry coordinate, label follows the first geometry segments. |
LabelingPlacement::LineCenterAfter | 10 | Left midpoint of label is at final geometry coordinate; label extrapolates the last geometry segment. |
LabelingPlacement::LineCenterAlong | 11 | Center of label prefers the midpoint of the geometry; label follows the geometry segments. |
LabelingPlacement::LineCenterBefore | 12 | Right midpoint of label is at first geometry coordinate; label extrapolates the first geometry segment. |
LabelingPlacement::LineCenterEnd | 13 | Right midpoint of label is at final geometry coordinate; label follows the last geometry segments. |
LabelingPlacement::LineCenterStart | 14 | Left midpoint of label is at first geometry coordinate; label follows the first geometry segments. |
LabelingPlacement::PointAboveCenter | 15 | Lower midpoint of label is offset north of point symbol. |
LabelingPlacement::PointAboveLeft | 16 | Lower-right corner of the label is offset northwest of point symbol. |
LabelingPlacement::PointAboveRight | 17 | Lower left corner of the label is offset North-east of point symbol. |
LabelingPlacement::PointBelowCenter | 18 | Upper midpoint of label is offset South of point symbol. |
LabelingPlacement::PointBelowLeft | 19 | Upper right corner of the label is offset South-west of point symbol. |
LabelingPlacement::PointBelowRight | 20 | Upper left corner of the label is offset South-east of point symbol. |
LabelingPlacement::PointCenterCenter | 21 | Center of label is placed on geometry point. |
LabelingPlacement::PointCenterLeft | 22 | Right midpoint of label is offset West of point symbol. |
LabelingPlacement::PointCenterRight | 23 | Left midpoint of label is offset East of point symbol. |
LabelingPlacement::PolygonAlwaysHorizontal | 24 | Center of label is as far inside polygon as possible. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.0.
enum class RelationshipCardinality
Enumerates the relationship cardinality.
The RelationshipCardinality can be one of:
Constant | Value | Description |
---|---|---|
RelationshipCardinality::Unknown | -1 | Unknown relationship cardinality. |
RelationshipCardinality::ManyToMany | 0 | Many-to-many. |
RelationshipCardinality::OneToMany | 1 | One-to-many. |
RelationshipCardinality::OneToOne | 2 | One-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:
Constant | Value | Description |
---|---|---|
RelationshipRole::Unknown | -1 | Unknown relationship role. |
RelationshipRole::Destination | 0 | Destination. |
RelationshipRole::Origin | 1 | Origin. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.1.
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. Additionally, by default, Runtime indicates that is it not a true-curve-capable 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:
Constant | Value | Description |
---|---|---|
ServiceCurveGeometryMode::DensifyCurves | 0 | Densified versions of geometries with curves are fetched. This is the default. |
ServiceCurveGeometryMode::FetchCurves | 1 | Curve geometries are fetched, but ArcGIS Runtime does not act as a true-curve client when editing. This value is deprecated since Esri::ArcGISRuntime 100.14. Use DensifyCurves or TrueCurveClient values instead. |
ServiceCurveGeometryMode::TrueCurveClient | 2 | Curve geometries are fetched, and ArcGIS Runtime acts as a true-curve client when editing. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.12.
enum class ServiceType
Enumerates the type of ArcGIS service.
The ServiceType can be one of:
Constant | Value | Description |
---|---|---|
ServiceType::Unknown | -1 | Unknown service type. |
ServiceType::FeatureService | 0 | Feature service type. |
ServiceType::ImageService | 1 | Image service type. |
ServiceType::MapService | 2 | Map 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:
Constant | Value | Description |
---|---|---|
TextAntialiasingMode::None | 0 | No text antialiasing is performed. |
TextAntialiasingMode::Normal | 1 | Antialiasing 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::Force | 2 | Text 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:
Constant | Value | Description |
---|---|---|
TileImageFormat::PNG | 0 | PNG |
TileImageFormat::PNG8 | 1 | PNG8 |
TileImageFormat::PNG24 | 2 | PNG24 |
TileImageFormat::PNG32 | 3 | PNG32 |
TileImageFormat::JPG | 4 | JPG |
TileImageFormat::MIXED | 5 | Mixed |
TileImageFormat::LERC | 6 | LERC |
TileImageFormat::Unknown | -1 | Unknown |
This enum was introduced or modified in Esri::ArcGISRuntime 100.0.
enum class TimeRelation
Enumerates the time relation.
The TimeRelation can be one of:
Constant | Value | Description |
---|---|---|
TimeRelation::Unknown | -1 | Unknown. |
TimeRelation::Overlaps | 0 | Overlaps. |
TimeRelation::AfterStartOverlapsEnd | 1 | After start overlaps end. |
TimeRelation::OverlapsStartWithinEnd | 2 | Overlaps 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:
Constant | Value | Description |
---|---|---|
TimeUnit::Unknown | -1 | Unknown. |
TimeUnit::Centuries | 0 | Centuries. |
TimeUnit::Days | 1 | Days. |
TimeUnit::Decades | 2 | Decades. |
TimeUnit::Hours | 3 | Hours. |
TimeUnit::Milliseconds | 4 | Milliseconds. |
TimeUnit::Minutes | 5 | Minutes. |
TimeUnit::Months | 6 | Months. |
TimeUnit::Seconds | 7 | Seconds. |
TimeUnit::Weeks | 8 | Weeks. |
TimeUnit::Years | 9 | Years. |
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:
Constant | Value | Description |
---|---|---|
VersionAccess::Public | 0 | The version is public. (0) |
Any portal user can view and edit the version.
Constant | Value | Description |
---|---|---|
VersionAccess::Protected | 1 | The version is protected. (1) |
Any portal user can view, but only the version owner, feature layer owner, and portal administrator can edit the version.
Constant | Value | Description |
---|---|---|
VersionAccess::Private | 2 | The 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.