ResultReceiver Constructors

Definition

Overloads

ResultReceiver(Handler)

Create a new ResultReceive to receive results.

ResultReceiver(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ResultReceiver(Handler)

Create a new ResultReceive to receive results.

[Android.Runtime.Register(".ctor", "(Landroid/os/Handler;)V", "")]
public ResultReceiver (Android.OS.Handler? handler);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Handler;)V", "")>]
new Android.OS.ResultReceiver : Android.OS.Handler -> Android.OS.ResultReceiver

Parameters

handler
Handler
Attributes

Remarks

Java documentation for android.os.ResultReceiver.ResultReceiver(android.os.Handler).

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

ResultReceiver(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ResultReceiver (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.ResultReceiver : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.ResultReceiver

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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