AI2 Component
(Version nb184)
|
Public Member Functions | |
AsyncCallbackFacade (AsyncCallbackPair< T > target) | |
void | onFailure (String message) |
Public Member Functions inherited from com.google.appinventor.components.runtime.util.AsyncCallbackPair< S > | |
void | onFailure (String message) |
void | onSuccess (T result) |
Protected Attributes | |
final AsyncCallbackPair< T > | callback |
AsyncCallbackFacade is an abstract class to provide an onSuccess(Object) method to transform the result of an asynchronous operation while passing through any error or failure states to the original callback.
<S> | Source (original) type expected by the callback |
<T> | Target type that the source result will be transformed into |
Definition at line 18 of file AsyncCallbackFacade.java.
com.google.appinventor.components.runtime.util.AsyncCallbackFacade< S, T >.AsyncCallbackFacade | ( | AsyncCallbackPair< T > | target | ) |
Definition at line 21 of file AsyncCallbackFacade.java.
void com.google.appinventor.components.runtime.util.AsyncCallbackFacade< S, T >.onFailure | ( | String | message | ) |
Definition at line 26 of file AsyncCallbackFacade.java.
|
protected |
Definition at line 19 of file AsyncCallbackFacade.java.