Language

CompanionDeviceManager.TrustPairingCallback Constructors

Definition

Overloads

Name Description
CompanionDeviceManager.TrustPairingCallback()
CompanionDeviceManager.TrustPairingCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

CompanionDeviceManager.TrustPairingCallback()

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

Applies to

CompanionDeviceManager.TrustPairingCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected TrustPairingCallback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Companion.CompanionDeviceManager.TrustPairingCallback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Companion.CompanionDeviceManager.TrustPairingCallback

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