A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/ar/reference/java/com/google/ar/core/Anchor.TerrainAnchorState below:

Anchor.TerrainAnchorState | ARCore | Google for Developers

Anchor.TerrainAnchorState

Stay organized with collections Save and categorize content based on your preferences.

Describes the result of a Terrain anchor operation.

Public Methods Inherited Methods From class java.lang.Enum From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

From interface java.lang.constant.Constable abstract Optional<? extends ConstantDesc>

describeConstable()

From interface java.lang.Comparable Enum Values public static final Anchor.TerrainAnchorState ERROR_INTERNAL ERROR_INTERNAL
public static final Anchor.TerrainAnchorState ERROR_INTERNAL

Resolving task for this Terrain anchor finished with an internal error. The app should not attempt to recover from this error.

ERROR_NOT_AUTHORIZED
public static final Anchor.TerrainAnchorState ERROR_NOT_AUTHORIZED

The authorization provided by the application is not valid. The Google Cloud project may not have enabled the ARCore API. When using API key authentication, this will happen if the API key in the manifest is invalid or unauthorized. It may also fail if the API key is restricted to a set of apps not including the current one. When using keyless authentication, this may happen when no OAuth client has been created, or when the signing key and package name combination does not match the values used in the Google Cloud project. It may also fail if Google Play Services isn't installed, is too old, or is malfunctioning for some reason (e.g. killed due to memory pressure).

public static final Anchor.TerrainAnchorState ERROR_UNSUPPORTED_LOCATION ERROR_UNSUPPORTED_LOCATION
public static final Anchor.TerrainAnchorState ERROR_UNSUPPORTED_LOCATION

There is no terrain information at this location, such as the center of the ocean.

public static final Anchor.TerrainAnchorState NONE NONE
public static final Anchor.TerrainAnchorState NONE

Not a valid state for a terrain anchor operation.

public static final Anchor.TerrainAnchorState SUCCESS SUCCESS
public static final Anchor.TerrainAnchorState SUCCESS

A resolving task for this Terrain anchor has finished successfully.

public static final Anchor.TerrainAnchorState TASK_IN_PROGRESS TASK_IN_PROGRESS
public static final Anchor.TerrainAnchorState TASK_IN_PROGRESS

This field was deprecated.
For async resolving tasks, the task is in progress when Future.getState() returns FutureState.PENDING.

Resolving the Terrain anchor is in progress. Once the task completes in the background, the anchor will get a new Terrain anchor state after the next Session.update() call.

Public Methods public static Anchor.TerrainAnchorState forNumber (int nativeCode) forNumber
public static Anchor.TerrainAnchorState forNumber(
  int nativeCode
)
Details Parameters nativeCode public boolean isError () isError
public boolean isError()
public static Anchor.TerrainAnchorState valueOf (String name) valueOf
public static Anchor.TerrainAnchorState valueOf(
  String name
)
public static final TerrainAnchorState[] values () values
public static final TerrainAnchorState[] values()

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 2024-10-31 UTC.

[[["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."],[[["`Anchor.TerrainAnchorState` describes the result of a Terrain anchor operation, providing different states like success, errors, and task progress."],["It includes public methods to identify errors, retrieve state by name or native code, and list all possible states."],["Terrain anchors can encounter errors due to internal issues, invalid authorization, or unsupported locations."],["A successful Terrain anchor operation results in the `SUCCESS` state, indicating the anchor is resolved and ready."],["The `TASK_IN_PROGRESS` state is deprecated and replaced by using `Future.getState()` for asynchronous resolving tasks."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4