語言

BluetoothGattCharacteristic 建構函式

定義

多載

名稱 Description
BluetoothGattCharacteristic(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

BluetoothGattCharacteristic(UUID, GattProperty, GattPermission)

建立一個新的 BluetoothGattCharacteristic。

BluetoothGattCharacteristic(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

BluetoothGattCharacteristic(UUID, GattProperty, GattPermission)

建立一個新的 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

參數

uuid
UUID

此特性的 UUID

properties
GattProperty

此特性的性質

permissions
GattPermission

此特性的權限

屬性

備註

建立一個新的 BluetoothGattCharacteristic。

Java 文件 android.bluetooth.BluetoothGattCharacteristic.BluetoothGattCharacteristic(java.util.UUID, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於