VisioMove Essential (Android)  1.21.0

◆ setLocationTrackingButtonToggleModes()

void setLocationTrackingButtonToggleModes ( List< VMELocationTrackingMode >  trackingModes)

Set the all the location tracking modes handled by the VME location tracker button.

See also
enums::VMELocationTrackingMode
Parameters
trackingModesThe list of the tracking modes that will be handled by the location tracker button
Note
This method allows to switch between tracking modes with the VME tracker button. 2 modes at least are needed in the list, with no duplicate.
Default values in the VMELocationTrackerView are <VMELocationTrackingMode.NONE,VMELocationTrackingMode.FOLLOW>
Example
List<VMELocationTrackingMode> lToggleTrackingModes = new ArrayList<>();
lToggleTrackingModes.add(VMELocationTrackingMode.NONE);
lToggleTrackingModes.add(VMELocationTrackingMode.CUSTOM);
lToggleTrackingModes.add(VMELocationTrackingMode.FOLLOW);
mMapView.setLocationTrackingButtonToggleModes(lToggleTrackingModes);
Version
1.19
Visioglobe® 2015-2020