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

Description

A utility network asset group.

AGSUtilityAssetGroup is the first-level categorization of an AGSUtilityNetworkSource object. (AGSUtilityAssetType is the second-level categorization.) This type provides information about the AGSUtilityAssetGroup object, including the AGSUtilityAssetType set that is contained therein.

Since
100.6
Inheritance diagram for AGSUtilityAssetGroup:
AGSObject

Instance Methods

(nullable AGSUtilityAssetType *) - assetTypeWithName:
 

Properties

NSArray< AGSUtilityAssetType * > * assetTypes
 
NSInteger code
 
NSString * name
 

Method Documentation

◆ assetTypeWithName:

- (nullable AGSUtilityAssetType *) assetTypeWithName: (NSString *)  name

Gets an AGSUtilityAssetType from the AGSUtilityAssetGroup by name. For example, an AGSUtilityAssetGroup object describing electrical transformers may contain an AGSUtilityAssetType object for a specific type of electrical transformer with a name such as "Single-phase Distribution Transformer".

Parameters
nameThe name of the AGSUtilityAssetType object.
Returns
An AGSUtilityAssetType corresponding to the name provided, or nil if the AGSUtilityAssetType is not found in the AGSUtilityAssetGroup.
Since
100.6

Property Documentation

◆ assetTypes

- (NSArray<AGSUtilityAssetType *>*) assetTypes
readnonatomiccopy

The array of AGSUtilityAssetType objects defining the asset types contained in the AGSUtilityAssetGroup.

Since
100.6

◆ code

- (NSInteger) code
readnonatomicassign

The code of the AGSUtilityAssetGroup object. This property is the subtype code value.

Since
100.6

◆ name

- (NSString*) name
readnonatomiccopy

The name of the AGSUtilityAssetGroup object.

Since
100.6