TestLooperManager.Next Method

Definition

Returns the next message that should be executed by this queue, may block if no messages are ready.

[Android.Runtime.Register("next", "()Landroid/os/Message;", "GetNextHandler", ApiSince=26)]
public virtual Android.OS.Message? Next ();
[<Android.Runtime.Register("next", "()Landroid/os/Message;", "GetNextHandler", ApiSince=26)>]
abstract member Next : unit -> Android.OS.Message
override this.Next : unit -> Android.OS.Message

Returns

Attributes

Remarks

Returns the next message that should be executed by this queue, may block if no messages are ready.

Callers should always call #recycle(Message) on the message when all interactions with it have completed.

Java documentation for android.os.TestLooperManager.next().

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