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()

Called when location tracking has started

OnStopAsync()

Called when location tracking has stopped

Applies to

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