Location |
The LocationInfoRequest type exposes the following members.
Name | Description | |
---|---|---|
![]() | LocationInfoRequest | Constructs a LocationInfoRequest object with the specified Location and DataSpecs. |
Name | Description | |
---|---|---|
![]() | DataSpecs | Gets the non-null DataSpecs object that specifies the data that is desired from the specified location. |
![]() | Location | Gets the non-null Location object for which data is desired. |
Name | Description | |
---|---|---|
![]() | Equals |
Two LocationInfoRequest objects are equal if it can be
ascertained that they are specifying the same set(s) of data from the
same location (i.e. they hold equal DataSpecs and
Location objects).
(Overrides ObjectEquals(Object)) |
![]() | GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) |
![]() | ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
LocationInfoRequest is effectively a lightweight alternative to LocationDataRequest, primarily for use when you want to know what station ID the API would use for a given GeographicLocation and DataSpecs, without the overhead of actually fetching the specified data. A LocationInfoRequest will only ever take one request unit, whilst a LocationDataRequest can take many more (depending on how much data it fetches).
A successfully-processed LocationInfoRequest will result in a LocationInfoResponse.
See GetLocationInfo(LocationInfoRequest) for an example of how to create a LocationInfoRequest, submit it to the API, and get a LocationInfoResponse back.
Version | Description |
---|---|
1.1 | This was added in version 1.1. |