ArcGIS Pro 2.7 API Reference Guide
IMapDeviceLocationService Interface Members
Properties  Methods 

ArcGIS.Desktop.Mapping.DeviceLocation Namespace : IMapDeviceLocationService Interface

The following tables list the members exposed by IMapDeviceLocationService.

Public Properties
 NameDescription
 Property Gets the enabled state of the current DeviceLocationSource.  
Top
Public Methods
 NameDescription
 Method Returns MapDeviceLocationOptions being currently used by the MapDeviceLocationService.  
 MethodEnables (or disables) the current DeviceLocationSource. Use ArcGIS.Desktop.Core.DeviceLocation.IDeviceLocationService.Open prior to enabling the DeviceLocationSource. This method must be called on the MCT. Use QueuedTask.Run.  
 MethodSets a MapDeviceLocationOptions to update the current MapDeviceLocationService settings. This method must be called on the MCT. Use QueuedTask.Run.  
 Method Zooms or pans the active map view to the current location, keeping the current device location at the center. This method must be called on the MCT. Use QueuedTask.Run.  
Top
See Also

Reference

IMapDeviceLocationService Interface
ArcGIS.Desktop.Mapping.DeviceLocation Namespace