addCompositeRegionListener

Adds a listener for information about the CompositeRegionGraph and the state information.

Note: The first listener that is added triggers the process of determining the CompositeRegionGraph. If the map regions cannot be determined, an error will be added in CompositeRegionListener.onCompositeRegionGraphChanged. The listener will be called when and if the error is resolved.

Parameters

listener

The listener to be added.

Throws

if the listener is already added.