addOnSourceAddedListener

abstract fun addOnSourceAddedListener(onSourceAddedListener: OnSourceAddedListener)

Deprecated

This method is deprecated, and will be removed in next major release. use [subscribeSourceAdded] instead.

Replace with

subscribeSourceAdded(sourceAddedCallback)

Add a listener that's going to be invoked whenever a source has been added with StyleManager#addStyleSource runtime API.