
You cannot create a DeviceLocationService instance. Instead use the Instance property to access the singleton DeviceLocationService instance which will have been already created.
Subscribe to ArcGIS.Desktop.Core.DeviceLocation.Events.SnapshotChangedEvent event to receive coordinates and metadata from the open device location source Snapshot.
To interact with the current or active map view using the device location, use the ArcGIS.Desktop.Mapping.DeviceLocation.MapDeviceLocationService instance.
Subscribe to the ArcGIS.Desktop.Core.DeviceLocation.Events.DeviceLocationSourceChangedEvent to receive notifications when the current device location source is changed.
System.Object
ArcGIS.Desktop.Core.DeviceLocation.DeviceLocationService
Target Platforms: Windows 11, Windows 10, Windows 8.1