public void UpdateProperties( DeviceLocationProperties props )
Public Sub UpdateProperties( _ ByVal props As DeviceLocationProperties _ )
Parameters
- props
public void UpdateProperties( DeviceLocationProperties props )
Public Sub UpdateProperties( _ ByVal props As DeviceLocationProperties _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
await QueuedTask.Run(() => { var dlProps = DeviceLocationService.Instance.GetProperties(); //Change the accuracy threshold dlProps.AccuracyThreshold = 22.5; // meters DeviceLocationService.Instance.UpdateProperties(dlProps); });
Target Platforms: Windows 11, Windows 10