ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / IMapDeviceLocationService Interface / IsDeviceLocationEnabled Property

IsDeviceLocationEnabled Property (IMapDeviceLocationService)
Gets the enabled state of the current DeviceLocationSource.
Syntax
bool IsDeviceLocationEnabled {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also