Language

TelephonyCallback Constructors

Definition

Overloads

Name Description
TelephonyCallback()

Creates a telephony callback object.

TelephonyCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TelephonyCallback()

Creates a telephony callback object.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=31)]
public TelephonyCallback();
Attributes

Remarks

Construction does not register the callback. Use RegisterTelephonyCallback(IExecutor, TelephonyCallback) to register an implementation.

Applies to

TelephonyCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to