Package com.facebook.bolts
See: Description
-
Interface Summary Interface Description Continuation A function to be called after a task completes. AppLinkResolver Implement this interface to provide an alternate strategy for resolving App Links that may include pre-fetching, caching, or querying for App Link data from an index provided by a service provider. UnobservedExceptionHandler Interface for handlers invoked when a failed {@code Task}
is about to be finalized, but theexception has not been consumed. -
Class Summary Class Description CancellationTokenSource Signals to a CancellationToken that it should be canceled. CancellationToken Propagates notification that operations should be canceled. AggregateException Aggregates multiple {@code Throwable}
s that may be thrown in the process of a task's execution.TaskCompletionSource Allows safe orchestration of a task's completion, preventing the consumer from prematurely completing the task. Target Represents a target defined in App Link metadata, consisting of at least a package name, andoptionally a URL, class name (for explicit intent handling), and an app name. AppLink Contains App Link metadata relevant for navigation on this device derived from the HTML at a given URL. AppLinks Provides a set of utility methods for working with incoming Intents that may contain App Link data. Capture Provides a class that can be used for capturing variables in an anonymous class implementation. TaskCompletionSource Task Represents the result of an asynchronous operation. CancellationTokenRegistration Represents a callback delegate that has been registered with a CancellationToken. ExecutorException This is a wrapper class for emphasizing that task failed due to bad {@code Executor}
, rather than the continuation block it self.UnobservedTaskException Used to signify that a Task's error went unobserved.