Share via


TestLooperManager.Execute(Message) Method

Definition

Executes the given message on the Looper thread this wrapper is attached to.

[Android.Runtime.Register("execute", "(Landroid/os/Message;)V", "GetExecute_Landroid_os_Message_Handler", ApiSince=26)]
public virtual void Execute (Android.OS.Message? message);
[<Android.Runtime.Register("execute", "(Landroid/os/Message;)V", "GetExecute_Landroid_os_Message_Handler", ApiSince=26)>]
abstract member Execute : Android.OS.Message -> unit
override this.Execute : Android.OS.Message -> unit

Parameters

message
Message
Attributes

Remarks

Executes the given message on the Looper thread this wrapper is attached to.

Execution will happen on the Looper's thread (whether it is the current thread or not), but all RuntimeExceptions encountered while executing the message will be thrown on the calling thread.

Java documentation for android.os.TestLooperManager.execute(android.os.Message).

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