Message

Class of android.os · Message.java · Android's reference

public final class Message implements Parcelable

A message of a Handler: its what and arguments, or a callback, with the time it is due.

Fields

public int what source
public int arg1 source
public int arg2 source
public Object obj source
public Messenger replyTo source
public int sendingUid source
public static final Parcelable.Creator<Message> CREATOR source

Constructors

public Message() empty body source

Methods

public static Message obtain() source
public static Message obtain(Message orig) source
public static Message obtain(Handler h) source
public static Message obtain(Handler h, Runnable callback) source
public static Message obtain(Handler h, int what) source
public static Message obtain(Handler h, int what, Object obj) source
public static Message obtain(Handler h, int what, int arg1, int arg2) source
public static Message obtain(Handler h, int what, int arg1, int arg2, Object obj) source
public void recycle() empty body source
public long getWhen() source
public void setTarget(Handler target) source
public Handler getTarget() source
public Runnable getCallback() source
public Bundle getData() source
public Bundle peekData() source
public void setData(Bundle data) source
public void sendToTarget() source
public boolean isAsynchronous() source
public void setAsynchronous(boolean async) source
public void copyFrom(Message o) source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) source
public String toString() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.