public final class ActivityResult
extends java.lang.Object
A simple bean to hold the outcome of an activity once it has finished execution. The activity might have completed successfully, or it might have failed or it might have been explicitly canceled at some point. This will be indicated by its state. In case it failed, there might by some additional information on why it failed - either an exception that occurred at this peer or due to a remote exception
Constructor and Description |
---|
ActivityResult(Activity activity) |
ActivityResult(Activity activity,
java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
Activity |
getActivity() |
java.lang.Throwable |
getException() |