Looper.MyQueue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.