Skip to content
Guides API

UtilityNetworkHandle

UtilityNetworkHandle = object

Defined in: src/ExpoArcgis.types.ts:1761

associations(tableName, whereClause): Promise<UtilityAssociationSummary>

Defined in: src/ExpoArcgis.types.ts:1802

Returns the associations of a feature queried from tableName.

string

string

Promise<UtilityAssociationSummary>


describeNetwork(): object

Defined in: src/ExpoArcgis.types.ts:1763

Returns metadata about the loaded network (its network-source names).

object

networkSources: string[]


getState(): Promise<UtilityNetworkState>

Defined in: src/ExpoArcgis.types.ts:1772

Returns the network’s topology state — dirty areas, errors, and whether topology is enabled.

Promise<UtilityNetworkState>


getTerminalConfigurations(): UtilityTerminalConfiguration[]

Defined in: src/ExpoArcgis.types.ts:1770

Returns the terminal configurations defined in the network. Use this to discover the available terminals on multi-terminal devices (e.g. transformers) before starting a directional trace that must specify a terminal. Synchronous — no network round-trip; reads from the already-loaded network definition.

UtilityTerminalConfiguration[]


queryNamedTraceConfigurations(): Promise<UtilityNamedTraceConfiguration[]>

Defined in: src/ExpoArcgis.types.ts:1794

Lists the network’s predefined named trace configurations.

Promise<UtilityNamedTraceConfiguration[]>


trace(traceType, startingLocations): Promise<UtilityTraceResult>

Defined in: src/ExpoArcgis.types.ts:1780

Runs a trace of traceType from the given starting locations (explicit element descriptors).

UtilityTraceType

UtilityElementDescriptor[]

Promise<UtilityTraceResult>


traceFromQuery(tableName, whereClause, traceType): Promise<UtilityTraceResult>

Defined in: src/ExpoArcgis.types.ts:1788

Queries a starting feature from the layer tableName (matching whereClause), traces from it, and selects the result features on the map. Convenient for an interactive “trace from here” flow.

string

string

UtilityTraceType

Promise<UtilityTraceResult>


traceWithConfiguration(configGlobalId, tableName, whereClause): Promise<UtilityTraceResult>

Defined in: src/ExpoArcgis.types.ts:1796

Traces using a named configuration (by globalId), from a feature queried from tableName.

string

string

string

Promise<UtilityTraceResult>


validateNetworkTopology(extent): JobRef<{ validated: boolean; }>

Defined in: src/ExpoArcgis.types.ts:1778

Validates the network topology over extent (an envelope geometry). Returns a JobRef — call .result() to run it (and track onProgress), or .cancel(). After it completes, read getState() to see whether errors or dirty areas remain.

Geometry

JobRef<{ validated: boolean; }>