addOnSourceRemovedListener

abstract fun addOnSourceRemovedListener(onSourceRemovedListener: OnSourceRemovedListener)

Deprecated

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

Replace with

subscribeSourceRemoved(sourceRemovedCallback)

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