Build 1.0_r1(from source)

android.os
Class Registrant

java.lang.Object
  extended by android.os.Registrant

public class Registrant
extends Object


Field Summary
(package private)  WeakReference refH
           
(package private)  Object userObj
           
(package private)  int what
           
 
Constructor Summary
Registrant(Handler h, int what, Object obj)
           
 
Method Summary
 void clear()
           
 Handler getHandler()
           
(package private)  void internalNotifyRegistrant(Object result, Throwable exception)
           
 Message messageForRegistrant()
          NOTE: May return null if weak reference has been collected
 void notifyException(Throwable exception)
           
 void notifyRegistrant()
           
 void notifyRegistrant(AsyncResult ar)
          This makes a copy of @param ar
 void notifyResult(Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refH

WeakReference refH

what

int what

userObj

Object userObj
Constructor Detail

Registrant

public Registrant(Handler h,
                  int what,
                  Object obj)
Method Detail

clear

public void clear()

notifyRegistrant

public void notifyRegistrant()

notifyResult

public void notifyResult(Object result)

notifyException

public void notifyException(Throwable exception)

notifyRegistrant

public void notifyRegistrant(AsyncResult ar)
This makes a copy of @param ar


internalNotifyRegistrant

void internalNotifyRegistrant(Object result,
                              Throwable exception)

messageForRegistrant

public Message messageForRegistrant()
NOTE: May return null if weak reference has been collected


getHandler

public Handler getHandler()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature