Looper.MyQueue Method

Definition

Return the MessageQueue object associated with the current thread.

[Android.Runtime.Register("myQueue", "()Landroid/os/MessageQueue;", "")]
public static Android.OS.MessageQueue MyQueue ();
[<Android.Runtime.Register("myQueue", "()Landroid/os/MessageQueue;", "")>]
static member MyQueue : unit -> Android.OS.MessageQueue

Returns

Attributes

Remarks

Return the MessageQueue object associated with the current thread. This must be called from a thread running a Looper, or a NullPointerException will be thrown.

Java documentation for android.os.Looper.myQueue().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to