Stay organized with collections Save and categorize content based on your preferences.
The state of an asynchronous operation.
Inherited Methods Fromclass 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()
interface java.lang.constant.Constable
abstract Optional<? extends ConstantDesc>
describeConstable()
interface java.lang.Comparable
Enum Values public static final FutureState CANCELLED CANCELLED
public static final FutureState CANCELLED
The operation has been cancelled. Any associated callback will never be invoked.
public static final FutureState DONE DONEpublic static final FutureState DONE
The operation is complete and the result is available. If a callback was associated, it will soon be invoked with the result on the main thread, if it hasn't been invoked already.
public static final FutureState PENDING PENDINGpublic static final FutureState PENDING
The operation is still pending. The result of the operation isn't available yet, and any associated callback hasn't yet been dispatched or invoked.
Do not use this to check if the operation can be cancelled as the state can change from another thread between the call to VpsAvailabilityFuture.getState()
and VpsAvailabilityFuture.cancel()
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."],[[["`FutureState` is an enum representing the state of an asynchronous operation in ARCore."],["It has three possible states: `PENDING`, `DONE`, and `CANCELLED`, indicating the operation's progress."],["When the state is `DONE`, the result is available and any associated callback will be invoked."],["While `PENDING` signifies the operation is ongoing, it shouldn't be solely relied upon for cancellation checks due to potential race conditions."]]],[]]
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