Method GetPointsOfInterest
GetPointsOfInterest(LoadingValueOptions, PointOfInterestType, CancellationToken)
Returns the points of interest
Declaration
Task<IEnumerable<IPointOfInterest>> GetPointsOfInterest(LoadingValueOptions options, PointOfInterestType type = PointOfInterestType.Unknown, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| LoadingValueOptions | options | The options of a loading value |
| PointOfInterestType | type | The optional requested type of a point of interest |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IPointOfInterest>> | Points of interest |
GetPointsOfInterest(IEnumerable<LoadingValueOptions>, PointOfInterestType, CancellationToken)
Returns the points of interest
Declaration
Task<IEnumerable<IPointOfInterest>> GetPointsOfInterest(IEnumerable<LoadingValueOptions> options, PointOfInterestType type = PointOfInterestType.Unknown, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<LoadingValueOptions> | options | The collection of loading value options |
| PointOfInterestType | type | The optional requested type of a point of interest |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IPointOfInterest>> | Points of interest for each LoadingValueOptions |