Show / Hide Table of Contents

Property LocationDataSource

LocationDataSource

Gets or sets the location data source that provides updates for the device location.

Declaration
public LocationDataSource? LocationDataSource { get; set; }
Property Value
Type Description
LocationDataSource

The location data source of the LocationGeotriggerFeed.

Remarks

To receive location updates, the underlying location data source must be started. If you call Stop(), the underlying LocationDataSource is not stopped for you. In other words, it may continue to receive GPS readings.

Exceptions
Type Condition
InvalidOperationException

Geotrigger feed cannot be modified after Geotrigger monitoring has been started.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.