FileDocCategorySizeDatePackage
AsyncResult.javaAPI DocAndroid 1.5 API1671Wed May 06 22:41:56 BST 2009android.os

AsyncResult

public class AsyncResult extends Object
hide

Fields Summary
public Object
userObj
Instance Variables
public Throwable
exception
public Object
result
Constructors Summary
public AsyncResult(Object uo, Object r, Throwable ex)
please note, this sets m.obj to be this

        userObj = uo;
        result = r;
        exception = ex;
    
Methods Summary
public static android.os.AsyncResultforMessage(android.os.Message m, java.lang.Object r, java.lang.Throwable ex)
Saves and sets m.obj

        AsyncResult ret;

        ret = new AsyncResult (m.obj, r, ex);

        m.obj = ret; 

        return ret;
    
public static android.os.AsyncResultforMessage(android.os.Message m)
Saves and sets m.obj

        AsyncResult ret;

        ret = new AsyncResult (m.obj, null, null);

        m.obj = ret; 

        return ret;