Property AdditionalSourceProperties
AdditionalSourceProperties
Gets a set of key-value pairs that provide additional metadata, such as source and accuracy details of this Location.
Declaration
public IReadOnlyDictionary<string, object?> AdditionalSourceProperties { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, object> | A set of key-value pairs that provide additional metadata, such as source and accuracy details of this Location. |
Remarks
When aLocation is created, implementation-specific or platform-specific details
about the location may be added to this dictionary of additional source properties.
This information is provided as a set of key-value pairs, where the (case-sensitive)
string key describes the type of data held in the object value. Values are
basic data types such as string, numeric, boolean, or date.
The specific keys and corresponding values available in the dictionary are determined by the location provider. However, this API recognizes the following well-known keys and exposes them through the LocationSourcePropertyKeys class:
- "floor" (an integer value). The floor number of the Location when the location is in a building. Use Floor to reference this key.
- "floorLevelId" (a string value). The unique ID of the level feature when inside a building, in accordance with the ArcGIS Indoors Information Model. Use FloorLevelId to reference this key.
- "positionSource" (a string value). Indicates the source used to determine the position. For example: GNSS, AppleIPS, BLE, WIFI, CELL, IP. A Location may have multiple position sources, in which case this value returns a list of comma-separated values. Use PositionSource to reference this key.
-
satelliteCount(an integer value). The number of satellites used to fix the Location. Use SatelliteCount to reference this key. - "transmitterCount" (an integer value). The number of transmitters used to determine an indoor positioning system (IPS) position. Use TransmitterCount to reference this key.
The availability of these values depends on the location provider and platform. IndoorsLocationDataSource provides values for floor, floorLevelId, positionSource, and either transmitterCount or satelliteCount, depending on the underlying system data source. The location data source provides different values depending on the platform. For example, on iOS, it provides a value for floor and on Android, it provides values for positionSource and satelliteCount. Values reported via Android's Location.getExtras() are also included in the additional source properties dictionary.
For developers wanting to derive their own LocationDataSource, AdditionalSourceProperties provides a means to include extra information with each Location.
This collection is read-only and can only be assigned via the constructor.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.10 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.10 - 200.8 |
| Xamarin.Android | 100.10 - 100.15 |
| Xamarin.iOS | 100.10 - 100.15 |
| UWP | 100.10 - 200.8 |