addListener

Registers a listener for building manager updates.

Note: In order to avoid memory leaks, use removeListener to remove the listener that is no longer required.

Return

true if the listener was added successfully, false otherwise

Parameters

listener

the listener to register