onCompositeRegionGraphChanged

Called to provide the CompositeRegionGraph and the state information.

The method is called first after a listener registered. Then the method is called after every change in the CompositeRegionGraph. The entire list of CompositeRegions with all the states is provided on each call.

Parameters

graphResult

The up-to-date CompositeRegionGraph or error.

changedStates

The up-to-date CompositeRegionState for each CompositeRegion.

A changedStates provides the initial state of CompositeRegions, and could be updated with later onCompositeRegionStatesChanged calls.

If graphResult is an error the changedStates is null.