Compartilhar via


Message.Callback Property

Definition

Retrieve callback object that will execute when this message is handled.

public Java.Lang.IRunnable? Callback { [Android.Runtime.Register("getCallback", "()Ljava/lang/Runnable;", "")] get; }
[<get: Android.Runtime.Register("getCallback", "()Ljava/lang/Runnable;", "")>]
member this.Callback : Java.Lang.IRunnable

Property Value

Attributes

Remarks

Retrieve callback object that will execute when this message is handled. This object must implement Runnable. This is called by the <em>target</em> Handler that is receiving this Message to dispatch it. If not set, the message will be dispatched to the receiving Handler's Handler#handleMessage(Message).

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

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