ArcGIS Pro 2.7 API Reference Guide
IsDeviceLocationEnabled Property (IMapDeviceLocationService)

ArcGIS.Desktop.Mapping.DeviceLocation Namespace > IMapDeviceLocationService Interface : IsDeviceLocationEnabled Property
Gets the enabled state of the current DeviceLocationSource.
Syntax
bool IsDeviceLocationEnabled {get;}
ReadOnly Property IsDeviceLocationEnabled As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

IMapDeviceLocationService Interface
IMapDeviceLocationService Members