TryGetCoverage
Declaration
public async void TryGetCoverage(LatLng queryLocation, int queryRadius, Action<AreaTargetsResult> onLocationsReceived, LocalizationTarget[] privateScanLocalizationTargets = null)
Parameters
| Name | Type | Summary |
|---|---|---|
| queryLocation | LatLng | Center of query |
| queryRadius | int | Radius for query between 0m and 2000m. A negative radius will default to the maximum radius of 2000m. |
| onLocationsReceived | Action<AreaTargetsResult> | Callback invoked when the requested CoverageAreas and LocalizationTargets are ready. |
| privateScanLocalizationTargets | LocalizationTarget[] | Optional. For any LocalizationTarget included in this array, a corresponding AreaTarget will be added to the AreaTargets returned through the onLocationsReceived callback. Specify your private AR Locations via the CoverageClientManager in order to utilize this parameter. |