[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eVpsAvailability\u003c/code\u003e is an enum representing the result of a Visual Positioning Service (VPS) availability check.\u003c/p\u003e\n"],["\u003cp\u003eIt indicates whether VPS can be used at a specific location, providing various status values like \u003ccode\u003eAVAILABLE\u003c/code\u003e, \u003ccode\u003eUNAVAILABLE\u003c/code\u003e, or error types.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers use \u003ccode\u003eVpsAvailability\u003c/code\u003e to determine if VPS features can be utilized and handle potential issues.\u003c/p\u003e\n"],["\u003cp\u003eIt's obtained asynchronously via \u003ccode\u003eSession.checkVpsAvailabilityAsync\u003c/code\u003e and accessed through \u003ccode\u003eVpsAvailabilityFuture.getResult()\u003c/code\u003e.\u003c/p\u003e\n"]]],["`VpsAvailability` is an asynchronous result from `Session.checkVpsAvailabilityAsync`. It indicates the availability status of VPS (Visual Positioning Service) at a location. The result can be accessed via `VpsAvailabilityFuture.getResult()`. Possible statuses include `AVAILABLE`, `UNAVAILABLE`, `UNKNOWN`, and error states like `ERROR_INTERNAL`, `ERROR_NETWORK_CONNECTION`, `ERROR_NOT_AUTHORIZED`, and `ERROR_RESOURCE_EXHAUSTED`. The enum also inherits methods for comparison, object management, and type information retrieval.\n"],null,["# VpsAvailability\n\n`\npublic final enum\n`**VpsAvailability**`\n` \nAsynchronous result of calling [Session.checkVpsAvailabilityAsync(double, double, Consumer)](/ar/reference/java/com/google/ar/core/Session#checkVpsAvailabilityAsync(double,%20double,%20java.util.function.Consumer\u003ccom.google.ar.core.VpsAvailability\u003e)). Obtained by [VpsAvailabilityFuture.getResult()](/ar/reference/java/com/google/ar/core/VpsAvailabilityFuture#getResult()). \n\nInherited Methods\n-----------------\n\nFrom `class\njava.lang.Enum` \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` final `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` final int ` | compareTo`(`[VpsAvailability](/ar/reference/java/com/google/ar/core/VpsAvailability)` arg0)` |\n| ` int ` | compareTo`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` final Optional\u003cEnumDesc\u003c`[VpsAvailability](/ar/reference/java/com/google/ar/core/VpsAvailability)`\u003e\u003e ` | describeConstable`()` |\n| ` final boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` final void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c`[VpsAvailability](/ar/reference/java/com/google/ar/core/VpsAvailability)`\u003e ` | getDeclaringClass`()` |\n| ` final int ` | hashCode`()` |\n| ` final `[String](https://developer.android.com/reference/java/lang/String)` ` | name`()` |\n| ` final int ` | ordinal`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` static \u003cT extends `[Enum](https://developer.android.com/reference/java/lang/Enum)`\u003cT\u003e\u003e T ` | valueOf`(`[Class](https://developer.android.com/reference/java/lang/Class)`\u003cT\u003e arg0, `[String](https://developer.android.com/reference/java/lang/String)` arg1)` |\n\nFrom `class\njava.lang.Object` \n\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| ` `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c?\u003e ` | getClass`()` |\n| ` int ` | hashCode`()` |\n| ` final void ` | notify`()` |\n| ` final void ` | notifyAll`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` final void ` | wait`(long arg0, int arg1)` |\n| ` final void ` | wait`(long arg0)` |\n| ` final void ` | wait`()` |\n\nFrom `interface\njava.lang.constant.Constable` \n\n|-----------------------------------------------|-----------------------|\n| ` abstract Optional\u003c? extends ConstantDesc\u003e ` | describeConstable`()` |\n\nFrom `interface\njava.lang.Comparable` \n\n|------------------|----------------------------------------------------------------------------------------------|\n| ` abstract int ` | compareTo`(`[VpsAvailability](/ar/reference/java/com/google/ar/core/VpsAvailability)` arg0)` |\n\nEnum Values\n-----------\n\n#### public\nstatic\nfinal\nVpsAvailability\nAVAILABLE\n\n### AVAILABLE\n\n```java\npublic static final VpsAvailability AVAILABLE\n``` \nVPS is available at the requested location.\n\n#### public\nstatic\nfinal\nVpsAvailability\nERROR_INTERNAL\n\n### ERROR_INTERNAL\n\n```java\npublic static final VpsAvailability ERROR_INTERNAL\n``` \nAn internal error occurred while determining availability.\n\n#### public\nstatic\nfinal\nVpsAvailability\nERROR_NETWORK_CONNECTION\n\n### ERROR_NETWORK_CONNECTION\n\n```java\npublic static final VpsAvailability ERROR_NETWORK_CONNECTION\n``` \nThe external service could not be reached due to a network connection error.\n\n#### public\nstatic\nfinal\nVpsAvailability\nERROR_NOT_AUTHORIZED\n\n### ERROR_NOT_AUTHORIZED\n\n```java\npublic static final VpsAvailability ERROR_NOT_AUTHORIZED\n``` \nAn authorization error occurred when communicating with the Google Cloud ARCore API. See [Enable the Geospatial\nAPI](https://developers.google.com/ar/develop/java/geospatial/enable) for troubleshooting steps.\n\n#### public\nstatic\nfinal\nVpsAvailability\nERROR_RESOURCE_EXHAUSTED\n\n### ERROR_RESOURCE_EXHAUSTED\n\n```java\npublic static final VpsAvailability ERROR_RESOURCE_EXHAUSTED\n``` \nToo many requests were sent.\n\n#### public\nstatic\nfinal\nVpsAvailability\nUNAVAILABLE\n\n### UNAVAILABLE\n\n```java\npublic static final VpsAvailability UNAVAILABLE\n``` \nVPS is not available at the requested location.\n\n#### public\nstatic\nfinal\nVpsAvailability\nUNKNOWN\n\n### UNKNOWN\n\n```java\npublic static final VpsAvailability UNKNOWN\n``` \nThe request to the remote service is not yet completed, so the availability is not yet known."]]