ArcGIS Pro 2.7 API Reference Guide
IsDeviceConnected Method (IDeviceLocationService)

ArcGIS.Desktop.Core.DeviceLocation Namespace > IDeviceLocationService Interface : IsDeviceConnected Method
Returns the connection status of the selected location source.
Syntax
bool IsDeviceConnected()
Function IsDeviceConnected() As Boolean

Return Value

returns true if CurrentSource is connected; false if no connected.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

IDeviceLocationService Interface
IDeviceLocationService Members