Skip to main content
API Reference NianticSpatial.NSDK.AR.VpsCoverage CoverageClient

TryGetCoverage


Declaration

public async void TryGetCoverage(LatLng queryLocation, int queryRadius, Action<AreaTargetsResult> onLocationsReceived, LocalizationTarget[] privateScanLocalizationTargets = null)

Parameters

NameTypeSummary
queryLocationLatLng
Center of query
queryRadiusint
Radius for query between 0m and 2000m.
A negative radius will default to the maximum radius of 2000m.
onLocationsReceivedAction<AreaTargetsResult>
Callback invoked when the requested CoverageAreas and LocalizationTargets are ready.
privateScanLocalizationTargetsLocalizationTarget[]
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.