Stay organized with collections
Save and categorize content based on your preferences.
GARVPSAvailability
Summary
Enumerations
GARVPSAvailability
GARVPSAvailability
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-14 UTC.
[null,null,["Last updated 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eGARVPSAvailability\u003c/code\u003e indicates whether Visual Positioning Service (VPS) is available at a given location for use with ARCore Geospatial API.\u003c/p\u003e\n"],["\u003cp\u003eIt provides different enumeration values to represent VPS availability status, such as \u003ccode\u003eAvailable\u003c/code\u003e, \u003ccode\u003eUnavailable\u003c/code\u003e, and various error states.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003echeckVPSAvailabilityAtCoordinate:completionHandler:\u003c/code\u003e method to check VPS availability before enabling Geospatial experiences.\u003c/p\u003e\n"],["\u003cp\u003eCommon errors include network connectivity issues, authorization problems, or exceeding request limits, which are indicated by specific enumeration values.\u003c/p\u003e\n"],["\u003cp\u003eBefore using Geospatial features, ensure the Google Cloud ARCore API is enabled and follow troubleshooting steps if authorization errors occur.\u003c/p\u003e\n"]]],[],null,["# GARVPSAvailability\n==================\n\nSummary\n-------\n\n| ### Enumerations ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GARVPSAvailability](#garvpsavailability)`{` ` `[GARVPSAvailabilityUnknown](#garvpsavailabilityunknown)` = 0,` ` `[GARVPSAvailabilityAvailable](#garvpsavailabilityavailable)` = 1,` ` `[GARVPSAvailabilityUnavailable](#garvpsavailabilityunavailable)` = 2,` ` `[GARVPSAvailabilityErrorInternal](#garvpsavailabilityerrorinternal)` = -1,` ` `[GARVPSAvailabilityErrorNetworkConnection](#garvpsavailabilityerrornetworkconnection)` = -2,` ` `[GARVPSAvailabilityErrorNotAuthorized](#garvpsavailabilityerrornotauthorized)` = -3,` ` `[GARVPSAvailabilityErrorResourceExhausted](#garvpsavailabilityerrorresourceexhausted)` = -4` `}` | enum The result of [checkVPSAvailabilityAtCoordinate:completionHandler: (GARSession(Geospatial))](/ar/reference/ios/category/GARSession(Geospatial)#checkvpsavailabilityatcoordinate:completionhandler:). |\n\nEnumerations\n------------\n\n### GARVPSAvailability\n\n```text\n GARVPSAvailability\n``` \nThe result of [checkVPSAvailabilityAtCoordinate:completionHandler: (GARSession(Geospatial))](/ar/reference/ios/category/GARSession(Geospatial)#checkvpsavailabilityatcoordinate:completionhandler:).\n\n| Properties ||\n|------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| GARVPSAvailabilityAvailable | VPS is available at the requested location. |\n| GARVPSAvailabilityErrorInternal | An internal error occurred while determining availability. |\n| GARVPSAvailabilityErrorNetworkConnection | The external service could not be reached due to a network connection error. |\n| GARVPSAvailabilityErrorNotAuthorized | An authorization error occurred when communicating with the Google Cloud ARCore API. See [Enable the Geospatial API](https://developers.google.com/ar/develop/ios/geospatial/enable) for troubleshooting steps. |\n| GARVPSAvailabilityErrorResourceExhausted | Too many requests were sent. |\n| GARVPSAvailabilityUnavailable | VPS is not available at the requested location. |\n| GARVPSAvailabilityUnknown | The request to the remote service is not yet completed, so the availability is not yet known. |"]]