VMECompassListener

interface VMECompassListener

Interface definition of methods that are invoked when compass related event occurs.

Since

2.0

VMECompassListener compassListener = new VMECompassListener() {
@Override
public boolean compassStateChanged(state: Boolean) {
// ...
}
};
mMapController.setCompassListener(compassListener);
mMapController.loadMapData();

Functions

Link copied to clipboard
abstract fun compassStateChanged(enabled: Boolean)

Notifies the listener that compass state has changed.