public static final enum
Anchor.RooftopAnchorState
Describes the Rooftop anchor state of asynchronous operation launched by Earth.resolveAnchorOnRooftopAsync(double, double, double, float, float, float, float, BiConsumer)
.
Obtained by ResolveAnchorOnRooftopFuture.getResultRooftopAnchorState()
.
Public Methods
static
Anchor.RooftopAnchorState
|
forNumber(int nativeCode)
|
boolean
|
isError()
|
static
Anchor.RooftopAnchorState
|
|
final
static
RooftopAnchorState[]
|
values()
|
Inherited Methods
Enum Values
public static final Anchor.RooftopAnchorState ERROR_INTERNAL
ERROR_INTERNAL
public static final Anchor.RooftopAnchorState ERROR_INTERNAL
Resolving task for this Rooftop anchor finished with an internal error. The app should not attempt to recover from this error.
public static final Anchor.RooftopAnchorState ERROR_NOT_AUTHORIZED
ERROR_NOT_AUTHORIZED
public static final Anchor.RooftopAnchorState 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.RooftopAnchorState ERROR_UNSUPPORTED_LOCATION
ERROR_UNSUPPORTED_LOCATION
public static final Anchor.RooftopAnchorState ERROR_UNSUPPORTED_LOCATION
There is no rooftop or terrain information at this location, such as the center of the ocean.
public static final Anchor.RooftopAnchorState NONE
NONE
public static final Anchor.RooftopAnchorState NONE
Not a valid value for a Rooftop anchor operation.
public static final Anchor.RooftopAnchorState SUCCESS
SUCCESS
public static final Anchor.RooftopAnchorState SUCCESS
A resolving task for this Rooftop anchor has finished successfully.
Public Methods
public static Anchor.RooftopAnchorState forNumber (int nativeCode)
forNumber
public static Anchor.RooftopAnchorState forNumber( int nativeCode )
Details | |||
---|---|---|---|
Parameters |
|
public boolean isError ()
isError
public boolean isError()
public static Anchor.RooftopAnchorState valueOf (String name)
valueOf
public static Anchor.RooftopAnchorState valueOf( String name )
Details | |||
---|---|---|---|
Parameters |
|
public static final RooftopAnchorState[] values ()
values
public static final RooftopAnchorState[] values()