onCompassChanged

abstract fun onCompassChanged(userHeading: Float)

Callback's invoked when a new compass update occurs. You can listen into the compass updates using addCompassListener and implementing these callbacks. Note that this interface is also used internally to to update the UI chevron/arrow.

Parameters

userHeading

the new compass heading