useMainThread

fun useMainThread()

If useBackgroundThread was called beforehand - kill background animator thread and use Android Main thread for all Mapbox animators. Otherwise function is no-op.

Behaviour is undefined if any animators are running when this method is called.