ARDK for Android/com.nianticlabs.ardk.vps/VPSCoverageSession
VPSCoverageSession
[androidJvm]
class VPSCoverageSession : SessionBase<VPSCoverageSession>
Creates a VPS Coverage instance for querying coverage information.
VPS Coverage allows you to query which areas have VPS mapping coverage, helping you determine where VPS localization will be available.
Types
| Name | Summary |
|---|---|
| Companion | [androidJvm] object Companion |
Functions
| Name | Summary |
|---|---|
| acquire | [androidJvm] @Synchronized fun acquire(): VPSCoverageSession |
| close | [androidJvm] @Synchronized open override fun close() |
| getAreaTargets | [androidJvm] suspend fun getAreaTargets(latLng: LatLng, radius: Int, timeoutMillis: Long = TIMEOUT_MS): AsyncResult<Array<AreaTarget>, VpsCoverageError> Asynchronously retrieves area targets within a specified radius of a geographic location. |
| getHintImage | [androidJvm] suspend fun getHintImage(hintUrl: String, timeoutMillis: Long = TIMEOUT_MS): AsyncResult<ByteArray, VpsCoverageError> Asynchronously downloads a hint image from a given URL. |