API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.os.Message

Added Methods
int describeContents()  
Runnable getCallback() Retrieve callback object that will execute when this message is handled.
Handler getTarget() Retrieve the a Handler implementation that will receive this message.
long getWhen() Return the targeted delivery time of this message, in milliseconds.
Message obtain(Handler, Runnable) Same as .obtain(Handler), but assigns a callback Runnable on the Message that is returned.
Message obtain(Message) Same as .obtain(), but copies the values of an existing message (including its target) into the new one.
void setTarget(Handler)  
 

Changed Methods
Bundle getData() Change in return type from HashMap to Bundle.
Obtains a Bundle of arbitrary data associated with this event, lazily creating it if necessary.
Bundle peekData() Change in return type from HashMap to Bundle.
Like getData(), but does not lazily create the Bundle.
void setData(Bundle) Change in signature from HashMap to Bundle.
Sets a Bundle of arbitrary data values.
void writeToParcel(Parcel, int) Change in signature from Parcel to (Parcel, int).
 
 

Removed Fields
Runnable callback A callback object to receive the message.
Handler target A Handler implementation that will receive this message.
long when The targeted delivery time of this message,in milliseconds from now.
 

Added Fields
Messenger replyTo Optional Messenger where replies to this message can be sent.
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff