ArcGIS Runtime SDK for iOS: AGSContingency Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSContingency Class Reference

Description

An object that defines a contingency.

Since
100.13
Inheritance diagram for AGSContingency:
AGSObject

Properties

NSInteger contingencyID
 
BOOL retired
 
AGSFeatureSubtypesubtype
 
NSDictionary< NSString *, AGSContingentValue * > * values
 

Property Documentation

◆ contingencyID

- (NSInteger) contingencyID
readnonatomicassign

The contingency's unique id.

Since
100.13

◆ retired

- (BOOL) retired
readnonatomicassign

A boolean indicating if the contingency is retired or not.

When a contingency is retired, it means that its presence in existing data is acceptable, but that it should not be presented as an option when editing. It is typically used to express that a value is no longer valid, such as using asbestos as a building material.

Since
100.13

◆ subtype

- (AGSFeatureSubtype*) subtype
readnonatomicstrong

The subtype to which this contingency is applied.

Since
100.13

◆ values

- (NSDictionary<NSString *, AGSContingentValue *>*) values
readnonatomiccopy

The contingency's values.

Returns a dictionary of field names to the value defined for that field in this contingency.

Since
100.13