Freigeben über


Message.Target Property

Definition

Retrieve the android.os.Handler Handler implementation that will receive this message.

public Android.OS.Handler? Target { [Android.Runtime.Register("getTarget", "()Landroid/os/Handler;", "")] get; [Android.Runtime.Register("setTarget", "(Landroid/os/Handler;)V", "")] set; }
[<get: Android.Runtime.Register("getTarget", "()Landroid/os/Handler;", "")>]
[<set: Android.Runtime.Register("setTarget", "(Landroid/os/Handler;)V", "")>]
member this.Target : Android.OS.Handler with get, set

Property Value

Attributes

Remarks

Retrieve the android.os.Handler Handler implementation that will receive this message. The object must implement android.os.Handler#handleMessage(android.os.Message) Handler.handleMessage(). Each Handler has its own name-space for message codes, so you do not need to worry about yours conflicting with other handlers.

Java documentation for android.os.Message.getTarget().

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