public final class Message extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
int |
arg1 |
int |
arg2 |
static Parcelable.Creator<Message> |
CREATOR |
Object |
obj |
Messenger |
replyTo |
int |
what |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public int what
public int arg1
public int arg2
public Object obj
public Messenger replyTo
public static final Parcelable.Creator<Message> CREATOR
public static Message obtain()
public void recycle()
public void copyFrom(Message o)
public long getWhen()
public void setTarget(Handler target)
public Handler getTarget()
public Runnable getCallback()
public Bundle getData()
public Bundle peekData()
public void setData(Bundle data)
public void sendToTarget()
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelableCopyright © 2008-2013. All Rights Reserved.