ArcGIS Pro 2.8 API Reference Guide
IsDeviceLocationEnabled Property (MapDeviceLocationService)

ArcGIS.Desktop.Mapping.DeviceLocation Namespace > MapDeviceLocationService Class : IsDeviceLocationEnabled Property
Determines the enabled state of the current DeviceLocationSource.
Syntax
public bool IsDeviceLocationEnabled {get;}
Public ReadOnly Property IsDeviceLocationEnabled As Boolean
Remarks
If there is no active map view the property will return false.

If there is no current DeviceLocationSource the property will return false.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapDeviceLocationService Class
MapDeviceLocationService Members