Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityTraceResultListModel QML Type

A list model storing a list of UtilityTraceResult. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.6

Properties

Signals

Methods

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

See also UtilityNetwork.

Property Documentation

count : int

Returns the number of objects in the model (read-only).


Signal Documentation

countChanged()

Emitted when the count property of the model changes.

Note: The corresponding handler is onCountChanged.


Method Documentation

bool contains(result)

Returns true if the list model contains the specified result.


void forEach(callback)

Receives a callback function to execute for each UtilityTraceResult in the model.

The callback function can take 0 to 3 optional arguments, in order:

Returns undefined if no error occurred, and an error message otherwise.

var error = UtilityTraceResultListModel.forEach(function(element, index, array) {
    ...
});
if (error) {
    console.error(error.message);
}

UtilityTraceResult get(index)

Returns the UtilityTraceResult at the specified index.


int indexOf(result)

Returns the index of a specific preplanned result (result) from the list model.



Feedback on this topic?