Share via


BluetoothGattDescriptor Constructors

Definition

Overloads

BluetoothGattDescriptor(UUID, GattDescriptorPermission)

Create a new BluetoothGattDescriptor.

BluetoothGattDescriptor(IntPtr, JniHandleOwnership)

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

BluetoothGattDescriptor(UUID, GattDescriptorPermission)

Create a new BluetoothGattDescriptor.

[Android.Runtime.Register(".ctor", "(Ljava/util/UUID;I)V", "")]
public BluetoothGattDescriptor (Java.Util.UUID? uuid, Android.Bluetooth.GattDescriptorPermission permissions);
[<Android.Runtime.Register(".ctor", "(Ljava/util/UUID;I)V", "")>]
new Android.Bluetooth.BluetoothGattDescriptor : Java.Util.UUID * Android.Bluetooth.GattDescriptorPermission -> Android.Bluetooth.BluetoothGattDescriptor

Parameters

uuid
UUID

The UUID for this descriptor

permissions
GattDescriptorPermission

Permissions for this descriptor

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattDescriptor.BluetoothGattDescriptor(java.util.UUID, int).

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

BluetoothGattDescriptor(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr

nativeint

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