android.os
Class Message
java.lang.Object
android.os.Message
- All Implemented Interfaces:
- Parcelable
public final class Message
- extends Object
- implements Parcelable
Method Summary |
void |
copyFrom(Message o)
|
int |
describeContents()
|
Runnable |
getCallback()
|
Bundle |
getData()
|
Handler |
getTarget()
|
long |
getWhen()
|
static Message |
obtain()
|
static Message |
obtain(Handler h)
|
static Message |
obtain(Handler h,
int what)
|
static Message |
obtain(Handler h,
int what,
int arg1,
int arg2)
|
static Message |
obtain(Handler h,
int what,
int arg1,
int arg2,
Object obj)
|
static Message |
obtain(Handler h,
int what,
Object obj)
|
static Message |
obtain(Handler h,
Runnable callback)
|
static Message |
obtain(Message orig)
|
Bundle |
peekData()
|
void |
recycle()
|
void |
sendToTarget()
|
void |
setData(Bundle data)
|
void |
setTarget(Handler target)
|
String |
toString()
|
void |
writeToParcel(Parcel dest,
int flags)
|
what
public int what
arg1
public int arg1
arg2
public int arg2
obj
public Object obj
replyTo
public Messenger replyTo
CREATOR
public static final Parcelable.Creator<Message> CREATOR
Message
public Message()
obtain
public static Message obtain()
obtain
public static Message obtain(Message orig)
obtain
public static Message obtain(Handler h)
obtain
public static Message obtain(Handler h,
Runnable callback)
obtain
public static Message obtain(Handler h,
int what)
obtain
public static Message obtain(Handler h,
int what,
Object obj)
obtain
public static Message obtain(Handler h,
int what,
int arg1,
int arg2)
obtain
public static Message obtain(Handler h,
int what,
int arg1,
int arg2,
Object obj)
recycle
public void recycle()
copyFrom
public void copyFrom(Message o)
getWhen
public long getWhen()
setTarget
public void setTarget(Handler target)
getTarget
public Handler getTarget()
getCallback
public Runnable getCallback()
getData
public Bundle getData()
peekData
public Bundle peekData()
setData
public void setData(Bundle data)
sendToTarget
public void sendToTarget()
toString
public String toString()
- Overrides:
toString
in class Object
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
Copyright © 2008-2012. All Rights Reserved.