다음을 통해 공유


BluetoothGattCharacteristic Constructors

Definition

Overloads

BluetoothGattCharacteristic(IntPtr, JniHandleOwnership)

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

BluetoothGattCharacteristic(UUID, GattProperty, GattPermission)

Create a new BluetoothGattCharacteristic.

BluetoothGattCharacteristic(IntPtr, JniHandleOwnership)

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

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

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

BluetoothGattCharacteristic(UUID, GattProperty, GattPermission)

Create a new BluetoothGattCharacteristic.

[Android.Runtime.Register(".ctor", "(Ljava/util/UUID;II)V", "")]
public BluetoothGattCharacteristic (Java.Util.UUID? uuid, Android.Bluetooth.GattProperty properties, Android.Bluetooth.GattPermission permissions);
[<Android.Runtime.Register(".ctor", "(Ljava/util/UUID;II)V", "")>]
new Android.Bluetooth.BluetoothGattCharacteristic : Java.Util.UUID * Android.Bluetooth.GattProperty * Android.Bluetooth.GattPermission -> Android.Bluetooth.BluetoothGattCharacteristic

Parameters

uuid
UUID

The UUID for this characteristic

properties
GattProperty

Properties of this characteristic

permissions
GattPermission

Permissions for this characteristic

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattCharacteristic.BluetoothGattCharacteristic(java.util.UUID, int, 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