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

Description

Describes how features in an AGSFloorAware layer are associated with floor levels of a facility.

AGSLayerFloorDefinition defines the properties that are used to filter the levels, or floors, of a facility.

See also
AGSGeoModelFloorDefinition
Since
100.12
Inheritance diagram for AGSLayerFloorDefinition:
AGSObject <AGSJSONSerializable>

Instance Methods

(instancetype) - initWithFloorField:
 
(nullable id) - toJSON:
 

Class Methods

(nullable id< AGSJSONSerializable >) + fromJSON:error:
 
(instancetype) + layerFloorDefinitionWithFloorField:
 

Properties

NSString * floorField
 
NSDictionary< NSString *, id > * unknownJSON
 
NSDictionary< NSString *, id > * unsupportedJSON
 

Method Documentation

◆ fromJSON:error:

+ (nullable id<AGSJSONSerializable>) fromJSON: (id)  JSONObject
error: (NSError **)  error 
staticrequiredinherited

Initializes and returns an object from its JSON representation.

Parameters
JSONObjectNSDictionary or NSArray containing the JSON.
errorencountered during the operation, if any.
Since
100

◆ initWithFloorField:

- (instancetype) initWithFloorField: (NSString *)  floorField

Creates a new AGSLayerFloorDefinition object with a name of an attribute field.

Parameters
floorFieldThe name of the attribute field that contains each floor level's ID.
Since
100.12

◆ layerFloorDefinitionWithFloorField:

+ (instancetype) layerFloorDefinitionWithFloorField: (NSString *)  floorField

Creates a new AGSLayerFloorDefinition object with a name of an attribute field.

Parameters
floorFieldThe name of the attribute field that contains each floor level's ID.
Since
100.12

◆ toJSON:

- (nullable id) toJSON: (NSError **)  error
requiredinherited

Returns JSON representation for this object.

Parameters
errorencountered during the operation, if any.
Returns
NSDictionary or NSArray containing the JSON.
Since
100

Reimplemented in AGSPortalItem.

Property Documentation

◆ floorField

- (NSString*) floorField
readnonatomiccopy

The name of the attribute field that contains each floor level's ID.

Since
100.12

◆ unknownJSON

- (NSDictionary<NSString*,id>*) unknownJSON
readrequirednonatomiccopyinherited

A dictionary of values that was in the source JSON but was unparsed by API.

Returns
NSDictionary containing the unknown JSON.
Since
100

◆ unsupportedJSON

- (NSDictionary<NSString*,id>*) unsupportedJSON
readnonatomiccopyinherited

A dictionary of values that are supported by the REST API, but not exposed through the SDK API.

Returns
NSDictionary containing the unsupported JSON.
Since
100