addOnStyleImageUnusedListener

abstract fun addOnStyleImageUnusedListener(onStyleImageUnusedListener: OnStyleImageUnusedListener)

Deprecated

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

Replace with

subscribeStyleImageRemoveUnused(styleImageRemoveUnusedCallback)

Add a listener that's going to be invoked whenever an image added to the Style is no longer needed and can be removed using StyleManager#removeStyleImage method.