Sdílet prostřednictvím


Messenger.Send(Message) Method

Definition

Send a Message to this Messenger's Handler.

[Android.Runtime.Register("send", "(Landroid/os/Message;)V", "")]
public void Send (Android.OS.Message? message);
[<Android.Runtime.Register("send", "(Landroid/os/Message;)V", "")>]
member this.Send : Android.OS.Message -> unit

Parameters

message
Message

The Message to send. Usually retrieved through Message#obtain() Message.obtain().

Attributes

Exceptions

Throws DeadObjectException if the target Handler no longer exists.

Remarks

Send a Message to this Messenger's Handler.

Java documentation for android.os.Messenger.send(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