VisioMove Essential (Android)  1.27.6

◆ setLocationTrackingButtonToggleModes()

void setLocationTrackingButtonToggleModes ( List< VMELocationTrackingMode >  trackingModes)

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

See also
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
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy