Show / Hide Table of Contents

Class SystemLocationDataSource

Provides location for the GeoView.LocationDisplay using the system's built-in location data source (if available).

Inheritance
System.Object
LocationDataSource
SystemLocationDataSource
LocationDataSource.CreateDefault()
LocationDataSource.StartAsync()
LocationDataSource.StopAsync()
LocationDataSource.UpdateHeading(Double)
LocationDataSource.UpdateLocation(Location)
LocationDataSource.Status
LocationDataSource.Error
LocationDataSource.LocationChanged
LocationDataSource.HeadingChanged
LocationDataSource.StatusChanged
LocationDataSource.ErrorChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SystemLocationDataSource : LocationDataSource
Remarks

Location Display requires the Location Capability for the app to be enabled.

Constructors

Name Description
SystemLocationDataSource()

Initializes a new instance of the SystemLocationDataSource class for receiving location information from the platform's built-in location capabilities

Methods

Name Description
OnStartAsync()

Invoked when the location tracking is started via the StartAsync() method

OnStopAsync()

Invoked when the location tracking is stopped via the StopAsync() method

Applies to

TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.